JANUS DOMAIN: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
Line 1: Line 1:
{{DISPLAYTITLE:JANUS DOMAIN}}
{{DISPLAYTITLE:JANUS DOMAIN}}
<span class="pageSubtitle"><section begin="desc" />Specify domain for Janus ports<section end="desc"/></span>
<span class="pageSubtitle">Specify domain for Janus ports</span>


This specifies the domain to the Model 204 online.
This specifies the domain to the Model 204 online.

Latest revision as of 17:32, 16 April 2013

Specify domain for Janus ports

This specifies the domain to the Model 204 online.

Syntax

JANUS DOMAIN domainname


Where domainname is the Internet domain name. The JANUS DOMAIN command only has an effect when running in an IBM (TCPTYPE=IBM) TCP/IP environment. If domainname is left blank, the JANUS DOMAIN command displays the current domain name.

JANUS DOMAIN sirius-software.com

In the above example the domain name is set to sirius-software.com.

The JANUS DOMAIN command need only be executed if your site uses IBM TCP/IP and you wish to refer to host names without the domain name qualifiers. Host names are referenced in:

For example, to retrieve a page on host hockey.sirius-software.com one could write:

%req is object httpRequest ... %req = new %req:host ='hockey.sirius-software.com' ...

However, if the domain name is set to sirius-software.com in the Online in which this request is running, the above request could also be written as:

%req is object httpRequest ... %req = new %req:host ='hockey' ...

The correct value to use in the JANUS DOMAIN command is usually the value to which DOMAINORIGIN is set in file TCPIP DATA (under VM) or xxxxxx.TCPIP.DATA (under MVS).

See also