JANUS DEFINE: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 120: Line 120:
==JANUS DEFINE parameters==
==JANUS DEFINE parameters==
</div>
</div>
 
<table class="syntaxTable">
<table class="syntaxTable">
  <tr><td>[[ALLOCC]]</td><td>Indicates that input, output and request buffers are to be allocated when a connection is established and are to be freed when the connection is closed.</td></tr>
  <tr><td>[[ALLOCC (JANUS DEFINE parameter)|ALLOCC]]</td><td>Indicates that input, output and request buffers are to be allocated when a connection is established and are to be freed when the connection is closed.</td></tr>
  <tr><td>[[ANONYMOUS]]</td><td>Indicates that anonymous access is permitted to the FTP server being
  <tr><td>[[ANONYMOUS (JANUS DEFINE parameter)|ANONYMOUS]]</td><td>Indicates that anonymous access is permitted to the FTP server being defined.</td></tr>
defined.</td></tr>
  <tr><td>[[ANONUSER (JANUS DEFINE parameter)|ANONUSER]]</td><td>Lets you change the name of the anonymous user,  <var>ANONUSER</var> may be specified only if <var>ANONYMOUS</var> is also specified.</td></tr>
  <tr><td>[[ANONUSER]]</td><td>Lets you change the name of the anonymous user,  <var>ANONUSER</var> may be specified only if <var>ANONYMOUS</var> is also specified.</td></tr>
  <tr><td>[[AUDTERM (JANUS DEFINE parameter)|AUDTERM]]</td><td>Controls whether the server thread sends "non-compiler terminal output" to the audit trail.</td></tr>
  <tr><td>[[AUDTERM]]</td><td>Controls whether the server thread sends "non-compiler terminal output" to the audit trail.</td></tr>
  <tr><td>[[AUTODONE (JANUS DEFINE parameter)|AUTODONE]]</td><td>Requests <var class="product">[[Janus Web Server]]</var> to treat a return to command mode after all port and ON rules CMDs have been processed as an implicit <var class="product">[[$Web_Done]]</var>.</td></tr>
  <tr><td>[[AUTODONE]]</td><td>Requests <var class="product">[[Janus Web Server]]</var> to treat a return to command mode after all port and ON rules CMDs have been processed as an implicit <var class="product">[[$Web_Done]]</var>.</td></tr>
  <tr><td>[[AUTOLOAD (JANUS DEFINE parameter)|AUTOLOAD]]</td><td>Indicates that the incore copy of Janus tables are to be reloaded at the first request subsequent to a table redefinition.</td></tr>
  <tr><td>[[AUTOLOAD]]</td><td>Indicates that the incore copy of Janus tables are to be reloaded at the first request subsequent to a table redefinition.</td></tr>
  <tr><td>[[AUTOON (JANUS DEFINE parameter)|AUTOON]]</td><td>Requests <var class="product"> Janus Web Server</var> to issue an implicit <var class="product">[[$Web_On]]</var> before executing the commands specified in a <var class="product">JANUS WEB ON</var> rule.</td></tr>
  <tr><td>[[AUTOON]]</td><td>Requests <var class="product">
  <tr><td>[[AUTOSYS (JANUS DEFINE parameter)|AUTOSYS]]</td><td>Sets the Model 204 AUTOSYS parameter to the indicated (<var class="term">subsys</var>) value when a connection is received on a TNSERV port.</td></tr>
Janus Web Server</var> to issue an implicit <var class="product">[[$Web_On]]</var> before executing the commands specified in a <var class="product">JANUS WEB ON</var> rule.</td></tr>
  <tr><td>[[BINARY (JANUS DEFINE parameter)|BINARY]]</td><td>Requests [[Janus Sockets]] to send and receive strings with <var>[[$SOCK_]]</var> functions or Socket methods using no translation.</td></tr>
  <tr><td>[[AUTOSYS]]</td><td>Sets the Model 204 AUTOSYS parameter to the indicated (<var class="term">subsys</var>) value
  <tr><td>[[BINDADDR (JANUS DEFINE parameter)|BINDADDR]]</td><td>Specifies the IP address to which the port will be bound, if the host (machine) on which <var class="product">Model 204</var> is running supports multiple IP addresses.</td></tr>
when a connection is received on a TNSERV port.</td></tr>
  <tr><td>[[BSIZE (JANUS DEFINE parameter)|BSIZE]]</td><td>Specifies the size of the TCP/IP input and output buffers.</td></tr>
  <tr><td>[[BINARY]]</td><td>Requests [[Janus Sockets]] to send and receive strings with <var>[[$SOCK_]]</var> functions or Socket methods using no translation.</td></tr>
  <tr><td>[[CHAR (JANUS DEFINE parameter)|CHAR]]</td><td>Requests <var class="term">[[Janus Sockets]]</var> to translate strings (sent and received with <var class="product">[[Janus Sockets]]</var> functions or methods) between the internal representation within <var class="product">Model 204</var> (EBCDIC) and the character representation used by the remote end of the
  <tr><td>[[BINDADDR]]</td><td>Specifies the IP address to which the port will be bound, if the host (machine) on which <var class="product">Model 204</var> is running supports multiple IP addresses.</td></tr>
connection.</td></tr>
  <tr><td>[[BSIZE]]</td><td>Specifies the size of the TCP/IP input and output buffers.</td></tr>
  <tr><td>[[CHARSET (JANUS DEFINE parameter)|CHARSET]]</td><td>Indicates, to the remote host, the character set being used by Janus.</td></tr>
  <tr><td>[[CHAR]]</td><td>Requests <var class="term">[[Janus Sockets]]</var> to translate strings (sent and received with <var class="product">[[Janus Sockets]]</var> functions or methods) between the internal representation within <var class="product">Model 204</var> (EBCDIC) and the character representation used by the remote end of the connection.</td></tr>
  <tr><td>[[CLIENTSOCKET (JANUS DEFINE parameter)|CLIENTSOCKET]]</td><td>Names the client socket port to use to open connections back to the FTP client, if the client requests active file transfers.</td></tr>
  <tr><td>[[CHARSET]]</td><td>Indicates, to the remote host, the character set being used by Janus.</td></tr>
  <tr><td>[[CLOSEIMMED (JANUS DEFINE parameter)|CLOSEIMMED]]</td><td>Indicates that if a lost connection is noticed by the Janus PST, the PST should <var>BUMP</var> the <var class="product">Model 204</var> thread associated with the connection immediately.</td></tr>
  <tr><td>[[CLIENTSOCKET]]</td><td>Names the client socket port to use to open connections back to the FTP client, if the client requests active file transfers.</td></tr>
  <tr><td>[[CLOSEREAD (JANUS DEFINE parameter)|CLOSEREAD]]</td><td>Indicates that web threads should &#x201C;put up&#x201D; a TCP/IP read after receiving the entire request but before processing it.</td></tr>
  <tr><td>[[CLOSEIMMED]]</td><td>Indicates that if a lost connection is noticed by the Janus PST, the PST should <var>BUMP</var> the <var class="product">Model 204</var> thread associated with the connection immediately.</td></tr>
  <tr><td>[[CMD (JANUS DEFINE parameter)|CMD]]</td><td>Specifies the <var class="product">Model 204</var> commands to be executed after the files and groups specified in the <var>OPEN</var> parameter are opened.</td></tr>
  <tr><td>[[CLOSEREAD]]</td><td>Indicates that web threads should &#x201C;put up&#x201D; a TCP/IP read after receiving
  <tr><td>[[COMPRESS (JANUS DEFINE parameter)|COMPRESS]]</td><td>Indicates the type of compression to be performed on outgoing <var class="product">Janus Web Server</var> data.</td></tr>
the entire request but before processing it.</td></tr>
  <tr><td>[[CR (JANUS DEFINE parameter)|CR]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII carriage return character (X'0D').</td></tr>
  <tr><td>[[CMD]]</td><td>Specifies the <var class="product">Model 204</var> commands to be executed after the files and groups specified in the <var>OPEN</var> parameter are opened.</td></tr>
  <tr><td>[[CRLF (JANUS DEFINE parameter)|CRLF]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').</td></tr>
  <tr><td>[[COMPRESS]]</td><td>Indicates the type of compression to be performed on outgoing <var class="product">Janus Web Server</var> data.</td></tr>
  <tr><td>[[CSSINSP (JANUS DEFINE parameter)|CSSINSP]]</td><td>Indicates whether or not <var class="product">[[Janus Web Legacy]]</var> support is to insert a space to represent the attribute byte on a 3270 screen.</td></tr>
  <tr><td>[[CR]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII carriage return character (X'0D').</td></tr>
  <tr><td>[[CSSTITLEDIV and CSSTITLESPAN (JANUS DEFINE parameters)|CSSTITLEDIV and CSSTITLESPAN]]</td><td>Indicates whether <var class="product">Janus Web Legacy</var> support is to use a <code>&lt;div></code> (<var>CSSTITLEDIV</var>) or <code>&lt;span></code> (<var>CSSTITLESPAN</var>) tag for the title line of a screen.</td></tr>
  <tr><td>[[CRLF]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').</td></tr>
  <tr><td>[[DBCS and NODBCS (JANUS DEFINE parameters)|DBCS and NODBCS]]</td><td>Indicates whether or not the <var class="product">Model 204</var> <var>DBCS</var> parameter is to be automatically set to 1 on requests to a <var>WEBSERV</var> port.</td></tr>
  <tr><td>[[CSSINSP]]</td><td>Indicates whether or not <var class="product">[[Janus Web Legacy]]</var> support is to insert a space to represent the attribute byte on a 3270 screen.</td></tr>
  <tr><td>[[DEBPORTCMD and NODEBPORTCMD (JANUS DEFINE parameter)|DEBPORTCMD and NODEBPORTCMD]]</td><td>Indicates whether the commands specified in the <var>CMD</var> clause of the <var>JANUS DEFINE</var> command are to be run on threads debugging requests to the port with the <var>[[JANUSDEBUG]]</var> command</td></tr>
  <tr><td>[[CSSTITLEDIV and CSSTITLESPAN]]</td><td>Indicates whether <var class="product">Janus Web Legacy</var> support is to use a <code>&lt;div></code> (<var>CSSTITLEDIV</var>) or <code>&lt;span></code> (<var>CSSTITLESPAN</var>) tag for the title line of a screen.</td></tr>
  <tr><td>[[DEBPORTOPEN and NODEBPORTOPEN (JANUS DEFINE parameter)|DEBPORTOPEN and NODEBPORTOPEN]]</td><td>Indicates whether the files and groups specified in the <var>OPEN</var> clause of the <var>JANUS DEFINE</var> command are to be opened on threads debugging requests.</td></tr>
  <tr><td>[[DBCS and NODBCS]]</td><td>Indicates whether or not the <var class="product">Model 204</var> <var>DBCS</var> parameter is to be automatically set to 1 on requests to a <var>WEBSERV</var> port.</td></tr>
  <tr><td>[[EXEC2RPC (JANUS DEFINE parameter)|EXEC2RPC]]</td><td>Indicates that language requests should be converted to RPCs.</td></tr>
  <tr><td>[[DEBPORTCMD and NODEBPORTCMD]]</td><td>Indicates whether the commands specified in the <var>CMD</var> clause of the <var>JANUS DEFINE</var> command are to be run on threads debugging requests to the port with the <var>[[JANUSDEBUG]]</var> command</td></tr>
  <tr><td>[[FDWOL (JANUS DEFINE parameter)|FDWOL]]</td><td>Specifies that all <var>FIND</var>s done by <var>Janus Specialty Data Store</var> are to be done as <var>Find Without Locks</var>.</td></tr>
  <tr><td>[[DEBPORTOPEN and NODEBPORTOPEN]]</td><td>Indicates whether the files and groups specified in the <var>OPEN</var> clause of the <var>JANUS DEFINE</var> command are to be opened on threads debugging requests.</td></tr>
  <tr><td>[[FORMPOSTWAIT (JANUS DEFINE parameter)|FORMPOSTWAIT]]</td><td>The default number of seconds to wait for the POST'ing of a form while using <var>[[$Web_Form_Done]]</var>.</td></tr>
  <tr><td>[[EXEC2RPC]]</td><td>Indicates that language requests should be converted to RPCs.</td></tr>
  <tr><td>[[FORMREDIRWAIT (JANUS DEFINE parameter)|FORMREDIRWAIT]]</td><td>The default number of seconds to wait for the client on a <var>WEBSERV</var> port (presumably a browser) to do the GET associated with a redirect generated by a <var>$Web_Form_Done</var> call.</td></tr>
  <tr><td>[[FDWOL]]</td><td>Specifies that all <var>FIND</var>s done by <var>Janus Specialty Data Store</var> are to be done as <var>Find Without Locks</var>.</td></tr>
  <tr><td>[[FINCLOSE (JANUS DEFINE parameter)|FINCLOSE]]</td><td>Affects how <var class="product">Janus Sockets</var> applications respond to a closed connection.</td></tr>
  <tr><td>[[FORMPOSTWAIT]]</td><td>The default number of seconds to wait for the POST'ing of a form while using
  <tr><td>[[HIGHPRIORITY (JANUS DEFINE parameter)|HIGHPRIORITY]]</td><td>Adjusts the <var class="product">Model 204</var> scheduling priority of <var class="product">Janus Web Server</var> threads by starting them at the upper end of their priority range rather than at their default priority.</td></tr>
<var>[[$Web_Form_Done]]</var>.</td></tr>
  <tr><td>[[HTTPVERSION (JANUS DEFINE parameter)|HTTPVERSION]]</td><td>Sets the HTTP version returned to the browser by <var class="product">Janus Web Server</var>.</td></tr>
  <tr><td>[[FORMREDIRWAIT]]</td><td>The default number of seconds to wait for the client on a <var>WEBSERV</var> port (presumably a browser) to do the GET associated with a redirect generated by a <var>$Web_Form_Done</var> call.</td></tr>
  <tr><td>[[IBSIZE (JANUS DEFINE parameter)|IBSIZE]]</td><td>Specifies the size of the TCP/IP input buffer.</td></tr>
  <tr><td>[[FINCLOSE]]</td><td>Affects how <var class="product">Janus Sockets</var> applications respond to a closed connection.</td></tr>
  <tr><td>[[INPUTTIMEOUT (JANUS DEFINE parameter)|INPUTTIMEOUT]]</td><td>Tells <var class="product">Janus Web Server</var> to use a different timeout value for input (receiving the web request) than for output.</td></tr>
  <tr><td>[[HIGHPRIORITY]]</td><td>Adjusts the <var class="product">Model 204</var> scheduling priority of <var class="product">Janus Web Server</var> threads by starting them at the upper end of their priority range rather than at their default priority.</td></tr>
  <tr><td>[[JANCAT (JANUS DEFINE parameter)|JANCAT]]</td><td>Specifies the name of the file that contains the <var class="product">Model 204</var> to SQL mappings.</td></tr>
  <tr><td>[[HTTPVERSION]]</td><td>Sets the HTTP version returned to the browser by <var class="product">Janus Web Server</var>.</td></tr>
  <tr><td>[[KEEPALIVE (JANUS DEFINE parameter)|KEEPALIVE]]</td><td>Indicates the number of seconds a TCP/IP connection is to be held open after an HTTP request on that connection.</td></tr>
  <tr><td>[[IBSIZE]]</td><td>Specifies the size of the TCP/IP input buffer.</td></tr>
  <tr><td>[[LANGUAGE (JANUS DEFINE parameter)|LANGUAGE]]</td><td>Indicates, to the remote host, the language being used by Janus.</td></tr>
  <tr><td>[[INPUTTIMEOUT]]</td><td>Tells <var class="product">Janus Web Server</var> to use a different timeout value for input (receiving the web request) than for output.</td></tr>
  <tr><td>[[LEGBL (JANUS DEFINE parameter)|LEGBL]]</td><td>Sets ''blink'', ''underscore'' and ''reverse'' characteristics for ''Janus Legacy'' screens.</td></tr>
  <tr><td>[[JANCAT]]</td><td>Specifies the name of the file that contains the <var class="product">Model 204</var> to SQL mappings.</td></tr>
  <tr><td>[[LEGCSS and NOLEGCSS (JANUS DEFINE parameters)|LEGCSS and NOLEGCSS]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy Support</var> is to use Cascading Style Sheets.</td></tr>
  <tr><td>[[KEEPALIVE]]</td><td>Indicates the number of seconds a TCP/IP connection is to be held open after an HTTP request on that connection.</td></tr>
  <tr><td>[[LEGJS and NOLEGJS (JANUS DEFINE parameters)|LEGJS and NOLEGJS]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy Support</var> is to use JavaScript.</td></tr>
  <tr><td>[[LANGUAGE]]</td><td>Indicates, to the remote host, the language being used by Janus.</td></tr>
  <tr><td>[[LF (JANUS DEFINE parameter)|LF]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').</td></tr>
  <tr><td>[[LEGBL]]</td><td>Sets ''blink'', ''underscore'' and ''reverse'' characteristics for ''Janus Legacy'' screens.</td></tr>
  <tr><td>[[LINEND (JANUS DEFINE parameter)|LINEND]]</td><td>Specifies the hex value of a string to be sent by <var class="product">Janus Sockets</var> at the end of each "line;" that is, appended to the string sent by the <var>[[$Sock_SendLn]]</var> function or <var>Socket</var> <var>[[SendWithLineEnd (Socket function)|SendWithLineEnd]]</var> function or after each output line
  <tr><td>[[LEGCSS and NOLEGCSS]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy Support</var> is to use Cascading Style Sheets.</td></tr>
captured on the socket.</td></tr>
  <tr><td>[[LEGJS and NOLEGJS]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy Support</var> is to use JavaScript.</td></tr>
  <tr><td>[[LOG (JANUS DEFINE parameter)|LOG]]</td><td>Specifies that all <var class="product">Janus Web Server</var> requests for the port are to be logged to a sequential dataset whose DDNAME is specified by ''xxxx''.</td></tr>
  <tr><td>[[LF]]</td><td>Indicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').</td></tr>
  <tr><td>[[LOGAPPEND (JANUS DEFINE parameter)|LOGAPPEND]]</td><td>Indicates that the <var class="product">Janus Web Server</var> log dataset for the port is to be opened in APPEND mode.</td></tr>
  <tr><td>[[LINEND]]</td><td>Specifies the hex value of a string to be sent by <var class="product">Janus Sockets</var> at the end of each "line;" that is, appended to the string sent by the <var>[[$Sock_SendLn]]</var> function or <var>Socket</var> <var>[[SendWithLineEnd (Socket function)|SendWithLineEnd]]</var> function or after each output line captured on the socket.</td></tr>
  <tr><td>[[LOGCLOSET (JANUS DEFINE parameter)|LOGCLOSET]]</td><td>Indicates how often the <var class="product">Janus Web Server</var> log dataset is to be "closed", that is how often the DSCB is to be updated for the log dataset.</td></tr>
  <tr><td>[[LOG]]</td><td>Specifies that all <var class="product">Janus Web Server</var> requests for the port are to be logged to a sequential dataset whose DDNAME is specified by ''xxxx''.</td></tr>
  <tr><td>[[LOGGMT (JANUS DEFINE parameter)|LOGGMT]]</td><td>Indicates that the time stamps in the <var class="product">Janus Web Server</var> log dataset for the port are to be represented as GMT instead of local time.</td></tr>
  <tr><td>[[LOGAPPEND]]</td><td>Indicates that the <var class="product">Janus Web Server</var> log dataset for the port is to be opened in APPEND mode.</td></tr>
  <tr><td>[[LOGMSGI (JANUS DEFINE parameter)|LOGMSGI]]</td><td>Prevents <var class="product">Janus Web Server</var> from saving <var class="product">Model 204</var> messages issued during logon for a web user.</td></tr>
  <tr><td>[[LOGCLOSET]]</td><td>Indicates how often the <var class="product">Janus Web Server</var> log dataset is to be "closed", that is how often the DSCB is to be updated for the log dataset.</td></tr>
  <tr><td>[[MASTER (JANUS DEFINE parameter)|MASTER]]</td><td>Specifies that this is the default port for ''outgoing'' client communication.</td></tr>
  <tr><td>[[LOGGMT]]</td><td>Indicates that the time stamps in the <var class="product">Janus Web Server</var> log dataset for the port are to be represented as GMT instead of local time.</td></tr>
  <tr><td>[[MAXCURS (JANUS DEFINE parameter)|MAXCURS]]</td><td>Specifies the maximum number of cursors that can be opened for a single <var> Janus Specialty Data Store</var> connection.</td></tr>
  <tr><td>[[LOGMSGI]]</td><td>Prevents <var class="product">Janus Web Server</var> from saving <var class="product">Model 204</var> messages issued during logon for a web user.</td></tr>
  <tr><td>[[MAXIPSES (JANUS DEFINE parameter)|MAXIPSES]]</td><td>Specifies the maximum number of ''Janus Web Legacy Support'' sessions maintained per IP address.</td></tr>
  <tr><td>[[MASTER]]</td><td>Specifies that this is the default port for ''outgoing'' client communication.</td></tr>
  <tr><td>[[MAXREC (JANUS DEFINE parameter)|MAXREC]]</td><td>Specifies the maximum record length for input records on a Janus <var>IFDIAL</var> port.</td></tr>
  <tr><td>[[MAXCURS]]</td><td>Specifies the maximum number of cursors that can be opened for a single <var> Janus Specialty Data Store</var> connection.</td></tr>
  <tr><td>[[MAXSAVE (JANUS DEFINE parameter)|MAXSAVE]]</td><td>Specifies the maximum number of compiled SQL requests to save in CCATEMP.</td></tr>
  <tr><td>[[MAXIPSES]]</td><td>Specifies the maximum number of ''Janus Web Legacy Support'' sessions maintained per IP address.</td></tr>
  <tr><td>[[MAXTEMP (JANUS DEFINE parameter)|MAXTEMP]]</td><td>Specifies the maximum number of CCATEMP pages allowed to be used by a web request for holding input (file upload) and output (dynamically generated HTML) data.</td></tr>
  <tr><td>[[MAXREC]]</td><td>Specifies the maximum record length for input records on a Janus <var>IFDIAL</var> port.</td></tr>
  <tr><td>[[MSGSEND and NOMSGSEND (JANUS DEFINE parameters)|MSGSEND and NOMSGSEND]]</td><td>Indicates whether or not <var class="product">Model 204</var> messages (as opposed to the output from <var>PRINT</var> or <var>HTML</var> statements) are to be sent to the browser.</td></tr>
  <tr><td>[[MAXSAVE]]</td><td>Specifies the maximum number of compiled SQL requests to save in CCATEMP.</td></tr>
  <tr><td>[[MSG204 (JANUS DEFINE parameter)|MSG204]]</td><td>Specifies the Sybase message number to be used to return terminal output to the client.</td></tr>
  <tr><td>[[MAXTEMP]]</td><td>Specifies the maximum number of CCATEMP pages allowed to be used by a web request for holding input (file upload) and output (dynamically generated HTML) data.</td></tr>
  <tr><td>[[MSG204L (JANUS DEFINE parameter)|MSG204L]]</td><td>Specifies the Sybase message number to be used to return terminal output to the client.</td></tr>
  <tr><td>[[MSGSEND and NOMSGSEND]]</td><td>Indicates whether or not <var class="product">Model 204</var> messages (as opposed to the output from <var>PRINT</var> or <var>HTML</var> statements) are to be sent to the browser.</td></tr>
  <tr><td>[[NEWPASSWORDC (JANUS DEFINE parameter)|NEWPASSWORDC]]</td><td>This parameter prevents <var class="product">Janus Web Server</var> from immediately sending an "Unauthorized" response to a browser after a password change.</td></tr>
  <tr><td>[[MSG204]]</td><td>Specifies the Sybase message number to be used to return terminal output to the client.</td></tr>
  <tr><td>[[NEWSESCMD (JANUS DEFINE parameter)|NEWSESCMD]]</td><td>Specifies the <var class="product">Model 204</var> commands to be executed when a new login session is initiated.</td></tr>
  <tr><td>[[MSG204L]]</td><td>Specifies the Sybase message number to be used to return terminal output to the client.</td></tr>
  <tr><td>[[NEWSESGUESTOK (JANUS DEFINE parameter)|NEWSESGUESTOK]]</td><td>Indicates that "guest" logins are to be allowed for <var>[[$Sir_Login]]</var> calls in programs run as part of <var>NEWSESCMD</var> processing.</td></tr>
  <tr><td>[[NEWPASSWORDC]]</td><td>This parameter prevents <var class="product">Janus Web Server</var> from immediately sending an "Unauthorized" response to a browser after a password change.</td></tr>
  <tr><td>[[NEWSESNOCLEARG (JANUS DEFINE parameter)|NEWSESNOCLEARG]]</td><td>Indicates that GTBL is not to be cleared at the end of <var>NEWSESCMD</var> command processing.</td></tr>
  <tr><td>[[NEWSESCMD]]</td><td>Specifies the <var class="product">Model 204</var> commands to be executed when a new login session is initiated.</td></tr>
  <tr><td>[[NEWSESOPEN (JANUS DEFINE parameter)|NEWSESOPEN]]</td><td>Specifies the names of one or more <var class="product">Model 204</var> files or groups to be opened before any <var>NEWSESCMD</var> commands are executed.</td></tr>
  <tr><td>[[NEWSESGUESTOK]]</td><td>Indicates that "guest" logins are to be allowed for <var>[[$Sir_Login]]</var> calls in programs run as part of <var>NEWSESCMD</var> processing.</td></tr>
  <tr><td>[[NOAUDTERM (JANUS DEFINE parameter)|NOAUDTERM]]</td><td>This parameter is used to control whether the server thread sends "non-compiler terminal output" to the audit trail.</td></tr>
  <tr><td>[[NEWSESNOCLEARG]]</td><td>Indicates that GTBL is not to be cleared at the end of <var>NEWSESCMD</var> command processing.</td></tr>
  <tr><td>[[NOAUTODONE (JANUS DEFINE parameter)|NOAUTODONE]]</td><td>Prevents <var class="product">Janus Web Server</var> from treating a return to command mode after all port and <var>ON</var> rules <var>CMD</var>s have been processed as an implicit <var>$Web_Done</var>.</td></tr>
  <tr><td>[[NEWSESOPEN]]</td><td>Specifies the names of one or more <var class="product">Model 204</var> files or groups to be opened before any <var>NEWSESCMD</var> commands are executed.</td></tr>
  <tr><td>[[NOAUTOON (JANUS DEFINE parameter)|NOAUTOON]]</td><td>Prevents <var class="product">Janus Web Server</var> from preceding the execution of the command specified in a <var>JANUS WEB ON</var> rule with an implicit <var>$Web_On</var>.</td></tr>
  <tr><td>[[NOAUDTERM]]</td><td>This parameter is used to control whether the server thread sends "non-compiler terminal output" to the audit trail.</td></tr>
  <tr><td>[[NOSCREENREDIR (JANUS DEFINE parameter)|NOSCREENREDIR]]</td><td>Indicates that <var class="product">Janus Web Server</var> legacy support (automatic mapping of 3270 applications to HTML) is not to use the redirect's to map all screens for a legacy session to the same URL.</td></tr>
  <tr><td>[[NOAUTODONE]]</td><td>Prevents <var class="product">Janus Web Server</var> from treating a return to command mode after all port and <var>ON</var> rules <var>CMD</var>s have been processed as an implicit <var>$Web_Done</var>.</td></tr>
  <tr><td>[[NOTRACEFIELD (JANUS DEFINE parameter)|NOTRACEFIELD]]</td><td>Indicates the form field or fields whose values are not to be traced when the X'04' bit (causes tracing of form field values for web requests) of <var>JANUS TRACE</var> is in effect.</td></tr>
  <tr><td>[[NOAUTOON]]</td><td>Prevents <var class="product">Janus Web Server</var> from preceding the execution of the command specified in a <var>JANUS WEB ON</var> rule with an implicit <var>$Web_On</var>.</td></tr>
  <tr><td>[[NOUPCASE (JANUS DEFINE parameter)|NOUPCASE]]</td><td>Indicates that no client data is to be converted to uppercase.</td></tr>
  <tr><td>[[NOSCREENREDIR]]</td><td>Indicates that <var class="product">Janus Web Server</var> legacy support (automatic mapping of 3270 applications to HTML) is not to use the redirect's to map all screens for a legacy session to the same URL.</td></tr>
  <tr><td>[[OBSIZE (JANUS DEFINE parameter)|OBSIZE]]</td><td>Specifies the size of the TCP/IP output buffer.</td></tr>
  <tr><td>[[NOTRACEFIELD]]</td><td>Indicates the form field or fields whose values are not to be traced when the X'04' bit (causes tracing of form field values for web requests) of <var>JANUS TRACE</var> is in effect.</td></tr>
  <tr><td>[[OMNIACCT (JANUS DEFINE parameter)|OMNIACCT]]</td><td>Specifies the <var class="product">Model 204</var> <var>ACCOUNT</var> for the <var class="product">Janus Specialty Data Store</var> catalog [[Sdaemons|sdaemon]] for the port.</td></tr>
  <tr><td>[[NOUPCASE]]</td><td>Indicates that no client data is to be converted to upper case.</td></tr>
  <tr><td>[[OMNIUSER (JANUS DEFINE parameter)|OMNIUSER]]</td><td>Specifies the <var class="product">Model 204</var> user ID for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the port.</td></tr>
  <tr><td>[[OBSIZE]]</td><td>Specifies the size of the TCP/IP output buffer.</td></tr>
  <tr><td>[[OPEN (JANUS DEFINE parameter)|OPEN]]</td><td>Specifies the name of one or more <var class="product">Model 204</var> files or groups to be opened when a server session is initiated.</td></tr>
  <tr><td>[[OMNIACCT]]</td><td>Specifies the <var class="product">Model 204</var> <var>ACCOUNT</var> for the <var class="product">Janus Specialty Data Store</var> catalog [[Sdaemons|sdaemon]] for the
  <tr><td>[[PASVPORT (JANUS DEFINE parameter)|PASVPORT]]</td><td>Identifies the first <var>FTP</var> server port number to use for &#x201C;passive&#x201D; file transfers.</td></tr>
port.</td></tr>
  <tr><td>[[PRELOGINUSER (JANUS DEFINE parameter)|PRELOGINUSER]]</td><td>Indicates the userid under which pre-login processing runs.</td></tr>
  <tr><td>[[OMNIUSER]]</td><td>Specifies the <var class="product">Model 204</var> user ID for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the port.</td></tr>
  <tr><td>[[PRSTOK (JANUS DEFINE parameter)|PRSTOK]]</td><td>Specifies the hex values of strings that are used to separate input strings using the <var>[[$Sock_RecvPrs]]</var> function or <var>Socket</var> <var>[[ReceiveAndParse (Socket function)|ReceiveAndParse]]</var> function. </td></tr>
  <tr><td>[[OPEN]]</td><td>Specifies the name of one or more <var class="product">Model 204</var> files or groups to be opened when a server session is initiated.</td></tr>
<tr><td>[[PUBLOG (JANUS DEFINE parameter)|PUBLOG]]</td><td>Indicates that a "real" login should be done for the <var>SOCKUSER</var> userid for <var>SRVSOCK</var> logons.</td></tr>
  <tr><td>[[PASVPORT]]</td><td>Identifies the first <var>FTP</var> server port number to use for &#x201C;passive&#x201D; file
  <tr><td>[[RAWINPUT (JANUS DEFINE parameter)|RAWINPUT]]</td><td>Tells <var class="product">Janus Web Server</var> to save the raw input stream for an HTTP POST, regardless of the mime type set by the client in the <code>content-type</code> header.</td></tr>
transfers.</td></tr>
  <tr><td>[[RAWINPUTONLY (JANUS DEFINE parameter)|RAWINPUTONLY]]</td><td>indicates that, regardless of the POST data content-type set by the client, <var class="product">Janus Web Server</var> should: 1) Save the raw input stream of an HTTP POST and 2) Refrain from parsing the input content into form fields.</td></tr>
  <tr><td>[[PRELOGINUSER]]</td><td>Indicates the userid under which pre-login processing runs.</td></tr>
  <tr><td>[[RBSIZE (JANUS DEFINE parameter)|RBSIZE]]</td><td>Specifies the Janus RPC or Request buffer size.</td></tr>
  <tr><td>[[PRSTOK]]</td><td>Specifies the hex values of strings that are used to separate input strings using the <var>[[$Sock_RecvPrs]]</var> function or <var>Socket</var> <var>[[ReceiveAndParse (Socket function)|ReceiveAndParse]]</var> function. </td></tr>
  <tr><td>[[REMOTE (JANUS DEFINE parameter)|REMOTE]]</td><td>Identifies the remote server and the remote port number to be used with a set of <var class="product">Janus Sockets</var> <var>CLSOCK</var> connections.</td></tr>
<tr><td>[[PUBLOG]]</td><td>Indicates that a "real" login should be done for the <var>SOCKUSER</var> userid for <var>SRVSOCK</var> logons.</td></tr>
  <tr><td>[[RPCONLY (JANUS DEFINE parameter)|RPCONLY]]</td><td>Indicates that only RPC requests are allowed on the port.</td></tr>
  <tr><td>[[RAWINPUT]]</td><td>Tells <var class="product">Janus Web Server</var> to save the raw input stream for an HTTP POST, regardless of the mime type set by the client in the <code>content-type</code> header.</td></tr>
  <tr><td>[[SCREEN and NOSCREEN (JANUS DEFINE parameters)|SCREEN and NOSCREEN]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy</var> screens will be allowed to appear on requests to the port.</td></tr>
  <tr><td>[[RAWINPUTONLY]]</td><td>indicates that, regardless of the POST data content-type set by the
  <tr><td>[[SCREENURL (JANUS DEFINE parameter)|SCREENURL]]</td><td>Indicates that <var class="product">Janus Web Server</var> legacy support (automatic mapping of 3270
client, <var class="product">Janus Web Server</var> should: 1) Save the raw input stream of an HTTP POST and 2) Refrain from parsing the input content into form fields.</td></tr>
  <tr><td>[[RBSIZE]]</td><td>Specifies the Janus RPC or Request buffer size.</td></tr>
  <tr><td>[[REMOTE]]</td><td>Identifies the remote server and the remote port number to be used with a set of <var class="product">Janus Sockets</var> <var>CLSOCK</var> connections.</td></tr>
  <tr><td>[[RPCONLY]]</td><td>Indicates that only RPC requests are allowed on the port.</td></tr>
  <tr><td>[[SCREEN and NOSCREEN]]</td><td>Indicates whether or not <var class="product">Janus Web Legacy</var> screens will be allowed to appear on requests to the port.</td></tr>
  <tr><td>[[SCREENURL]]</td><td>Indicates that <var class="product">Janus Web Server</var> legacy support (automatic mapping of 3270
applications to HTML) is to switch web applications that present a 3270 screen to a special internally generated URL.</td></tr>
applications to HTML) is to switch web applications that present a 3270 screen to a special internally generated URL.</td></tr>
  <tr><td>[[SDSACCT]]</td><td>Specifies the <var class="product">Model 204</var> <var>ACCOUNT</var> for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the
  <tr><td>[[SDSACCT (JANUS DEFINE parameter)|SDSACCT]]</td><td>Specifies the <var class="product">Model 204</var> <var>ACCOUNT</var> for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the port.</td></tr>
port.</td></tr>
  <tr><td>[[SDSUSER (JANUS DEFINE parameter)|SDSUSER]]</td><td>specifies the <var class="product">Model 204</var> <var>USER</var> for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the port.</td></tr>
  <tr><td>[[SDSUSER]]</td><td>specifies the <var class="product">Model 204</var> <var>USER</var> for the <var class="product">Janus Specialty Data Store</var> catalog sdaemon for the
  <tr><td>[[SESCOOKIE (JANUS DEFINE parameter)|SESCOOKIE]]</td><td>Indicates the name of a cookie that will be used to maintain logical sessions that will be used to perform trusted logins.</td></tr>
port.</td></tr>
  <tr><td>[[SESCOOKIENOSEC (JANUS DEFINE parameter)|SESCOOKIENOSEC]]</td><td>Indicates that the cookie specified by <var>SESCOOKIE</var> will '''not''' be sent to the browser as a "secure" cookie.</td></tr>
  <tr><td>[[SESCOOKIE]]</td><td>Indicates the name of a cookie that will be used to maintain logical sessions that will be used to perform trusted logins.</td></tr>
  <tr><td>[[SESFASTLOGIN (JANUS DEFINE parameter)|SESFASTLOGIN]]</td><td>Reduces the login security overhead for <var class="product">Janus Web Server</var> threads by causing a login performed for a continued session to be a "fast" login.</td></tr>
  <tr><td>[[SESCOOKIENOSEC]]</td><td>Indicates that the cookie specified by <var>SESCOOKIE</var> will '''not''' be sent to the browser as a "secure" cookie.</td></tr>
  <tr><td>[[SESTIMEOUT (JANUS DEFINE parameter)|SESTIMEOUT]]</td><td>Indicates the number of minutes of inactivity that will cause a logical login session being held either via <var>SESCOOKIE</var> or <var>SSLSES</var> to be terminated.</td></tr>
  <tr><td>[[SESFASTLOGIN]]</td><td>Reduces the login security overhead for <var class="product">Janus Web Server</var> threads by causing a login performed for a continued session to be a "fast" login.</td></tr>
  <tr><td>[[SLOWCLOSE (JANUS DEFINE parameter)|SLOWCLOSE]]</td><td>Specifies a bitmask that indicates the conditions under which <var class="product">Janus Web Server</var> is to perform a "slow" close of a connection with a browser.</td></tr>
  <tr><td>[[SESTIMEOUT]]</td><td>Indicates the number of minutes of inactivity that will cause a logical login session being held either via <var>SESCOOKIE</var> or <var>SSLSES</var> to be terminated.</td></tr>
  <tr><td>[[SOCKACCT (JANUS DEFINE parameter)|SOCKACCT]]</td><td>Specifies the default <var class="product">Model 204</var> account ID used for <var>SRVSOCK</var> logons.</td></tr>
  <tr><td>[[SLOWCLOSE]]</td><td>Specifies a bitmask that indicates the conditions under which <var class="product">Janus Web Server</var> is to perform a "slow" close of a connection with a browser.</td></tr>
  <tr><td>[[SOCKPMAX (JANUS DEFINE parameter)|SOCKPMAX]]</td><td>Specifies the maximum number of sockets a user may have connected at any time using the particular <var class="product">Janus Sockets</var> client port.</td></tr>
  <tr><td>[[SOCKACCT]]</td><td>Specifies the default <var class="product">Model 204</var> account ID used for <var>SRVSOCK</var> logons.</td></tr>
  <tr><td>[[SOCKUSER (JANUS DEFINE parameter)|SOCKUSER]]</td><td>Specifies the default <var class="product">Model 204</var> user ID used for <var class="product">SRVSOCK</var> logons.</td></tr>
  <tr><td>[[SOCKPMAX]]</td><td>Specifies the maximum number of sockets a user may have connected at any time using the particular <var class="product">Janus Sockets</var> client port.</td></tr>
  <tr><td>[[SQUAREB (JANUS DEFINE parameter)|SQUAREB]]</td><td>Overrides the default EBCDIC characters for square brackets in the <var class="product">Janus Web Server</var> log file.</td></tr>
  <tr><td>[[SOCKUSER]]</td><td>Specifies the default <var class="product">Model 204</var> user ID used for <var class="product">SRVSOCK</var> logons.</td></tr>
  <tr><td>[[SSL (JANUS DEFINE parameter)|SSL]]</td><td>Indicates that communications on this port should be encrypted using SSL (Secure Sockets Layer) or TLS (Transport Layer Security) support.</td></tr>
  <tr><td>[[SQUAREB]]</td><td>Overrides the default EBCDIC characters for square brackets in the <var class="product">Janus Web Server</var> log file.</td></tr>
  <tr><td>[[SSLBSIZE (JANUS DEFINE parameter)|SSLBSIZE]]</td><td>Specifies the size of the input buffer used for reading encrypted data for an <var>SSL</var> port.</td></tr>
  <tr><td>[[SSL]]</td><td>Indicates that communications on this port should be encrypted using SSL (Secure Sockets Layer) or TLS (Transport Layer Security) support.</td></tr>
  <tr><td>[[SSLCACHE (JANUS DEFINE parameter)|SSLCACHE]]</td><td>Specifies the number of entries in virtual storage to be allocated for caching information related to this port's SSL sessions.</td></tr>
  <tr><td>[[SSLBSIZE]]</td><td>Specifies the size of the input buffer used for reading encrypted data for an <var>SSL</var> port.</td></tr>
  <tr><td>[[SSLCIPH (JANUS DEFINE parameter)|SSLCIPH]]</td><td>Limit the stream ciphers (encryption algorithms) that this port offers for SSL connections.</td></tr>
  <tr><td>[[SSLCACHE]]</td><td>Specifies the number of entries in virtual storage to be allocated for caching information related to this port's SSL sessions.</td></tr>
  <tr><td>[[SSLCLCERT and SSLCLCERTR (JANUS DEFINE parameter)|SSLCLCERT and SSLCLCERTR]]</td><td>Specify that an <var>SSL</var> server port will request an SSL certificate from the client.</td></tr>
  <tr><td>[[SSLCIPH]]</td><td>Limit the stream ciphers (encryption algorithms) that this port offers for SSL connections.</td></tr>
  <tr><td>[[SSLIBSIZE (JANUS DEFINE parameter)|SSLIBSIZE]]</td><td>Specifies the size of the SSL input buffer to be used on <var>SSL</var> ports.</td></tr>
  <tr><td>[[SSLCLCERT and SSLCLCERTR]]</td><td>Specify that an <var>SSL</var> server port will request an SSL certificate from the client.</td></tr>
  <tr><td>[[SSLMAXAGE (JANUS DEFINE parameter)|SSLMAXAGE]]</td><td>Specifies the maximum number of minutes that an SSL session is to be maintained.</td></tr>
  <tr><td>[[SSLIBSIZE]]</td><td>Specifies the size of the SSL input buffer to be used on <var>SSL</var> ports.</td></tr>
  <tr><td>[[SSLMAXCERTL (JANUS DEFINE parameter)|SSLMAXCERTL]]</td><td>Indicates the number of bytes of virtual storage to be allocated to hold incoming certificates presented for authentication.</td></tr>
  <tr><td>[[SSLMAXAGE]]</td><td>Specifies the maximum number of minutes that an SSL session is to be maintained.</td></tr>
  <tr><td>[[SSLOBSIZE (JANUS DEFINE parameter)|SSLOBSIZE]]</td><td>Specifies the size of the SSL output buffer to be used on <var>SSL</var> ports.</td></tr>
  <tr><td>[[SSLMAXCERTL]]</td><td>Indicates the number of bytes of virtual storage to be allocated to hold incoming certificates presented for authentication.</td></tr>
  <tr><td>[[SSLOPT (JANUS DEFINE parameter)|SSLOPT]]</td><td>Specifies that the use of SSL-like encryption is optional for applications using the port.</td></tr>
  <tr><td>[[SSLOBSIZE]]</td><td>Specifies the size of the SSL output buffer to be used on <var>SSL</var> ports.</td></tr>
  <tr><td>[[SSLPROT (JANUS DEFINE parameter)|SSLPROT]]</td><td>Specify the degree of SSL-like encryption available at this port.</td></tr>
  <tr><td>[[SSLOPT]]</td><td>Specifies that the use of SSL-like encryption is optional for applications using the port.</td></tr>
  <tr><td>[[SSLSES (JANUS DEFINE parameter)|SSLSES]]</td><td>Reduces the overhead of <var>NEWSESCMD</var> processing by limiting it to logical session establishment time.</td></tr>
  <tr><td>[[SSLPROT]]</td><td>Specify the degree of SSL-like encryption available at this port.</td></tr>
  <tr><td>[[SSLUNENC (JANUS DEFINE parameter)|SSLUNENC]]</td><td>Indicates that an unencrypted private key is being used in the certificate specified by the <var>SSL</var> parameter on this Janus server port definition.</td></tr>
  <tr><td>[[SSLSES]]</td><td>Reduces the overhead of <var>NEWSESCMD</var> processing by limiting it to logical session establishment time.</td></tr>
  <tr><td>[[STIMEOUT (JANUS DEFINE parameter)|STIMEOUT]]</td><td>Sets the number of seconds of inactivity after which a <var class="product">Janus Web Legacy</var> session is terminated.</td></tr>
  <tr><td>[[SSLUNENC]]</td><td>Indicates that an unencrypted private key is being used in the certificate specified by the <var>SSL</var> parameter on this Janus server port definition.</td></tr>
  <tr><td>[[TCPLOG (JANUS DEFINE parameter)|TCPLOG]]</td><td>Tells <var class="product">Janus Web Server</var> to log in a sequential dataset all inbound and outbound TCP data transmitted for this port.</td></tr>
  <tr><td>[[STIMEOUT]]</td><td>Sets the number of seconds of inactivity after which a <var class="product">Janus Web Legacy</var>
  <tr><td>[[TCPKEEPALIVE (JANUS DEFINE parameter)|TCPKEEPALIVE]]</td><td>Specifies that connections on the port should use TCP keepalives.</td></tr>
session is terminated.</td></tr>
  <tr><td>[[TIMEOUT (JANUS DEFINE parameter)|TIMEOUT]]</td><td>Specifies the number of seconds of inactivity after which clients connected to this port will be disconnected.</td></tr>
  <tr><td>[[TCPLOG]]</td><td>Tells <var class="product">Janus Web Server</var> to log in a sequential dataset all inbound and outbound TCP data transmitted for this port.</td></tr>
  <tr><td>[[TRACE (JANUS DEFINE parameter)|TRACE]]</td><td>Specifies the initial <var>TRACE</var> setting for the port.</td></tr>
  <tr><td>[[TCPKEEPALIVE]]</td><td>Specifies that connections on the port should use TCP keepalives.</td></tr>
  <tr><td>[[UPCASE (JANUS DEFINE parameter)|UPCASE]]</td><td>Indicates that all client "names" are to be converted to uppercase.</td></tr>
  <tr><td>[[TIMEOUT]]</td><td>Specifies the number of seconds of inactivity after which clients connected to this port will be disconnected.</td></tr>
  <tr><td>[[VARIPADDR (JANUS DEFINE parameter)|VARIPADDR]]</td><td>Indicates that a single browser might access <var class="product">Janus Web Server</var> using different IP addresses.</td></tr>
  <tr><td>[[TRACE]]</td><td>Specifies the initial <var>TRACE</var> setting for the port.</td></tr>
  <tr><td>[[WEBACCT (JANUS DEFINE parameter)|WEBACCT]]</td><td>Specifies the default <var class="product">Model 204</var> account ID used for web logons for URLs where no userid is required.</td></tr>
  <tr><td>[[UPCASE]]</td><td>Indicates that all client "names" are to be converted to upper case.</td></tr>
  <tr><td>[[WEBCOOKID (JANUS DEFINE parameter)|WEBCOOKID]]</td><td>Indicates that an identifying "cookie" should be sent to a browser to distinguish multiple browsers coming through the same proxy server or running on the same machine.</td></tr>
  <tr><td>[[VARIPADDR]]</td><td>Indicates that a single browser might access <var class="product">Janus Web Server</var> using different IP addresses.</td></tr>
  <tr><td>[[WEBLH (JANUS DEFINE parameter)|WEBLH]]</td><td>Synonym for <var>WEBLOGHOLD</var>.</td></tr>
  <tr><td>[[WEBACCT]]</td><td>Specifies the default <var class="product">Model 204</var> account ID used for web logons for URLs where no userid is required.</td></tr>
  <tr><td>[[WEBLM (JANUS DEFINE parameter)|WEBLM]]</td><td>Synonym for <var>WEBLOGMAX</var>.</td></tr>
  <tr><td>[[WEBCOOKID]]</td><td>Indicates that an identifying "cookie" should be sent to a browser to distinguish multiple browsers coming through the same proxy server or running on the same machine.</td></tr>
  <tr><td>[[WEBLOGCOOKIE (JANUS DEFINE parameter)|WEBLOGCOOKIE]]</td><td>Indicates that, for public URLs, <var class="product">Janus Web Server</var> should log the user in with the userid specified by cookie-name. Normally, all public URL logins use the default public userid (usually <var>WEBUSER</var>).</td></tr>
  <tr><td>[[WEBLH]]</td><td>Synonym for <var>WEBLOGHOLD</var>.</td></tr>
  <tr><td>[[WEBLOGHOLD (JANUS DEFINE parameter)|WEBLOGHOLD]]</td><td>Indicates the number of seconds that a "real" login should be saved for re-use on a web connection.</td></tr>
  <tr><td>[[WEBLM]]</td><td>Synonym for <var>WEBLOGMAX</var>.</td></tr>
  <tr><td>[[WEBLOGMAX (JANUS DEFINE parameter)|WEBLOGMAX]]</td><td>Indicates the maximum number of cached login sessions to be held for a single user.</td></tr>
  <tr><td>[[WEBLOGCOOKIE]]</td><td>Indicates that, for public URLs, <var class="product">Janus Web Server</var> should log the user in with the userid specified by cookie-name. Normally, all public URL logins use the default public userid (usually <var>WEBUSER</var>).</td></tr>
  <tr><td>[[WEBPL (JANUS DEFINE parameter)|WEBPL]]</td><td>Synonym for <var>WEBPUBLOG</var>.</td></tr>
  <tr><td>[[WEBLOGHOLD]]</td><td>Indicates the number of seconds that a "real" login should be saved for re-use on a web connection.</td></tr>
  <tr><td>[[WEBPUBLOG (JANUS DEFINE parameter)|WEBPUBLOG]]</td><td>Indicates that a "real" login should be done for the <var>WEBUSER</var> <var class="term">userid</var> for public URLs.</td></tr>
  <tr><td>[[WEBLOGMAX]]</td><td>Indicates the maximum number of cached login sessions to be held for a single user.</td></tr>
  <tr><td>[[WEBREALM (JANUS DEFINE parameter)|WEBREALM]]</td><td>Indicates the security "realm" of userids and passwords.</td></tr>
  <tr><td>[[WEBPL]]</td><td>Synonym for <var>WEBPUBLOG</var>.</td></tr>
  <tr><td>[[WEBSDMAX (JANUS DEFINE parameter)|WEBSDMAX]]</td><td>Indicates the maximum number of sdaemons to be used for cached web logins.</td></tr>
  <tr><td>[[WEBPUBLOG]]</td><td>Indicates that a "real" login should be done for the <var>WEBUSER</var> <var class="term">userid</var> for public URLs.</td></tr>
  <tr><td>[[WEBSM (JANUS DEFINE parameter)|WEBSM]]</td><td>Synonym for <var>WEBSDMAX</var>.</td></tr>
  <tr><td>[[WEBREALM]]</td><td>Indicates the security "realm" of userids and passwords.</td></tr>
  <tr><td>[[WEBUSER (JANUS DEFINE parameter)|WEBUSER]]</td><td>Specifies the default <var class="product">Model 204</var> user ID used for web logons for URLs where no userid is required.</td></tr>
  <tr><td>[[WEBSDMAX]]</td><td>Indicates the maximum number of sdaemons to be used for cached web logins.</td></tr>
  <tr><td>[[WSFQUERY (JANUS DEFINE parameter)|WSFQUERY]]</td><td>Indicates that Janus is to issue a &#x201C;Write Structured Field Query&#x201D; request to any telnet client that connects to it.</td></tr>
  <tr><td>[[WEBSM]]</td><td>Synonym for <var>WEBSDMAX</var>.</td></tr>
  <tr><td>[[XTAB (JANUS DEFINE parameter)|XTAB]]</td><td>Specify a translation table that has not yet been loaded with the <var>JANUS LOADXT</var> command, but the table must be loaded before the port can be started.</td></tr>
  <tr><td>[[WEBUSER]]</td><td>Specifies the default <var class="product">Model 204</var> user ID used for web logons for URLs where no userid is required.</td></tr>
  <tr><td>[[WSFQUERY]]</td><td>Indicates that Janus is to issue a &#x201C;Write Structured Field Query&#x201D; request
to any telnet client that connects to it.</td></tr>
  <tr><td>[[XTAB]]</td><td>Specify a translation table that has not yet been loaded with the <var>JANUS LOADXT</var> command, but the table must be loaded before the port can be started.</td></tr>
</table>
</table>



Revision as of 21:51, 6 December 2011

<section begin="desc" />Define and set characteristics of a Janus port<section end="desc" />

Overview

The JANUS DEFINE command is used to specify the characteristics of a Janus port. It defines the usage of the named port as one of the following:

  • Access by IFDIAL clients
  • Open Server or Open Client connections
  • Specialty Data Store access
  • Web access
  • FTP server connections
  • Telnet server connections
  • Generic Sockets usage -- with the Model 204 online either requesting (CLSOCK) or accepting (SRVSOCK) the connection
  • Connection between the Janus Debugger or Sirius Debugger workstation GUI and programs being debugged in Model 204

For any except a CLSOCK or DEBUGGERCLIENT port, this subcommand associates a service with a TCP/IP port number.

Among the characteristics specified by JANUS DEFINE is whether the port will use Secure Sockets Layer (SSL) for encrypted communications.

See "JANUS DEFINE and JANUS DEFINEREMOTE subcommands" for a discussion of when you need to issue the JANUS DEFINE command.

The JANUS DEFINE command syntax is described below.

Syntax

<section begin="syntax" /> JANUS DEFINE portname portnum type maxcon other_parms... <section end="syntax" />

JANUS DEFINE command syntax

Where each of the first four parameters is positional and required:

portname A 1- to 30-character name by which the port is identified. It is used on other JANUS subcommands, such as JANUS START and JANUS DISPLAY. It is used on the $Sock_Conn function or the Socket object New constructor to name the CLSOCK port defining a connection.
portnum The TCP/IP port number at which the service is available. portnum is the server port number, and it must be between 1 and 65535, inclusive. This number is used by client applications on the network when they require access to the Model 204 server. The server port number must be unique on the host. Several "well-known" port numbers for various TCP/IP services (for example, 53 for nameserver) should be avoided, unless you are implementing that service using Janus Sockets.

For CLSOCK and DEBUGGERCLIENT ports, an asterisk (*) is used as the port number, since they are used to create, rather than accept, connections, and these port numbers are not determined until the time of the connection. For WEBSERV ports, 80 is customary for non-secure HTTP and 443 for secure HTTP (SSL); you can, however, use other numbers for WEBSERV ports if required.

For FTPSERVER ports, 21 is customary; you can, however, use other numbers for FTPSERVER ports if required.
type
Port type. Valid types are:
CLSOCK A Janus Sockets client socket port. If non-system administrator users are to use a CLSOCK port, rules must be provided to allow them to initiate outgoing connections on the port.
DEBUGGERCLIENT A Sirius Debugger client socket port.
DEBUGGERSERVER A Janus Debugger or Sirius Debugger server socket port.
FTPSERVER A Janus FTP Server application.
IFDIAL Janus IFDIAL Library applications.
OAS Synonym for type SDS.
OMNI Synonym for type SDS.
OPENSERV Open Server applications; Open Client connections are outward-bound connections on an OPENSERV port.
SRVSOCK A Janus Sockets server socket port.
SDS A Janus Specialty Data Store port.
TNSERV A Janus Telnet Server port. Only available in Sirius Mods Version 6.9 and later.
WEBSERV A World Wide Web Server port.

For Janus Open Client usage, you must define one or more ports of type SDS or OPENSERV, and you may need to use the MASTER parameter on a port definition. For JANUS server ports, specify SRVSOCK; for JANUS client ports, specify CLSOCK; for JANUS FTP server ports, specify FTPSERVER; for JANUS telnet server ports, specify TNSERV. TNSERV ports require that the system TNDEV parameter be set to indicate the IODEV that daemon threads switch to while in full-screen mode for a telnet connection.

maxcon Maximum number of simultaneous active connections to be allowed on the port. This number must be less than or equal to the number of TCP/IP connections for which the site is licensed. Before Sirius Mods Version 6.8, the maxcon value had to be less than or equal to the number of sdaemons defined to the online, except for non-CLSOCK ports. If you are defining multiple ports for your site, however, the sum of the maxcon connections you define is allowed to be greater than the number for which the site is licensed. In this case, Janus Web Server will automatically prevent any connection that would exceed the site license limit. For Janus Open Client, note that a server-to-server connection requires an extra connection for the site handler. Thus, a single connection to a remote server would use two connections, while 10 connections to a remote server would use 11.

Under Sirius Mods Version 6.8 and later, restrictions on the allowed values for maxcon are no longer present, but licensed thread limits are still enforced at the time a connection is made.

You can use the JANUS TSTATUS command to view the thread usage and connection limits for your port, and you can use the JANUS LIMITS command to view similar information for your Online.

other_parms A set of blank-delimited parameters that describe the characteristics of and processing to be performed on the port. These parameters are keywords, sometimes followed by values, and they are described individually in the subsections that follow. They are all optional, except:
  • for OPENSERV ports, CMD is required
  • For CLSOCK or DEBUGGERCLIENT ports, REMOTE is required
  • For SRVSOCK ports, CMD is required
  • For FTPSERVER ports, OPEN, CMD, NEWSESOPEN, and NEWSESCMD are not allowed

Examples

The parameters you might use on a port definition vary by port type (i.e. communication protocol), the security requirements of your shop and application, performance considerations and the applications that will run inside the Model 204 online as a client or a service on this port.

There's no such thing as a "typical" port -- each one is customized to the service or services running over the port.

JANUS DEFINE JANWEB 80 WEBSERV 50 WEBUSER WEBUSER TRACE 0 UPCASE - OBSIZE 10240 IBSIZE 10240 RBSIZE 10240 TIMEOUT 600 - OPEN FILE JANWEB MAXTEMP 14000 BINDADDR 198.242.244.47 - LOG REQ WEBLOGJW LOGCLOSET 57 NOAUDTERM COMPRESS 2 KEEPALIVE 30

In the above example, a Janus Web Server port is defined, named JANWEB. It runs at port 80 (the default web port) and allows 50 simultaneous connections. Buffer sizes are increases over the default settings and a variety of logging, compressions and other settings are specified.

JANUS DEFINE SOAP * CLSOCK 5 TIMEOUT 240 REMOTE * * MASTER

In the above example, a client socket "master" port called SOAP is defined, permitting 5 simultaneous outgoing connections to any remote hosts.

JANUS DEFINE parameters

ALLOCCIndicates that input, output and request buffers are to be allocated when a connection is established and are to be freed when the connection is closed.
ANONYMOUSIndicates that anonymous access is permitted to the FTP server being defined.
ANONUSERLets you change the name of the anonymous user, ANONUSER may be specified only if ANONYMOUS is also specified.
AUDTERMControls whether the server thread sends "non-compiler terminal output" to the audit trail.
AUTODONERequests Janus Web Server to treat a return to command mode after all port and ON rules CMDs have been processed as an implicit $Web_Done.
AUTOLOADIndicates that the incore copy of Janus tables are to be reloaded at the first request subsequent to a table redefinition.
AUTOONRequests Janus Web Server to issue an implicit $Web_On before executing the commands specified in a JANUS WEB ON rule.
AUTOSYSSets the Model 204 AUTOSYS parameter to the indicated (subsys) value when a connection is received on a TNSERV port.
BINARYRequests Janus Sockets to send and receive strings with $SOCK_ functions or Socket methods using no translation.
BINDADDRSpecifies the IP address to which the port will be bound, if the host (machine) on which Model 204 is running supports multiple IP addresses.
BSIZESpecifies the size of the TCP/IP input and output buffers.
CHARRequests Janus Sockets to translate strings (sent and received with Janus Sockets functions or methods) between the internal representation within Model 204 (EBCDIC) and the character representation used by the remote end of the connection.
CHARSETIndicates, to the remote host, the character set being used by Janus.
CLIENTSOCKETNames the client socket port to use to open connections back to the FTP client, if the client requests active file transfers.
CLOSEIMMEDIndicates that if a lost connection is noticed by the Janus PST, the PST should BUMP the Model 204 thread associated with the connection immediately.
CLOSEREADIndicates that web threads should “put up” a TCP/IP read after receiving the entire request but before processing it.
CMDSpecifies the Model 204 commands to be executed after the files and groups specified in the OPEN parameter are opened.
COMPRESSIndicates the type of compression to be performed on outgoing Janus Web Server data.
CRIndicates that lines of text data sent to a browser should be separated by the ASCII carriage return character (X'0D').
CRLFIndicates that lines of text data sent to a browser should be separated by the ASCII carriage return and line feed characters (X'0D0A').
CSSINSPIndicates whether or not Janus Web Legacy support is to insert a space to represent the attribute byte on a 3270 screen.
CSSTITLEDIV and CSSTITLESPANIndicates whether Janus Web Legacy support is to use a <div> (CSSTITLEDIV) or <span> (CSSTITLESPAN) tag for the title line of a screen.
DBCS and NODBCSIndicates whether or not the Model 204 DBCS parameter is to be automatically set to 1 on requests to a WEBSERV port.
DEBPORTCMD and NODEBPORTCMDIndicates whether the commands specified in the CMD clause of the JANUS DEFINE command are to be run on threads debugging requests to the port with the JANUSDEBUG command
DEBPORTOPEN and NODEBPORTOPENIndicates whether the files and groups specified in the OPEN clause of the JANUS DEFINE command are to be opened on threads debugging requests.
EXEC2RPCIndicates that language requests should be converted to RPCs.
FDWOLSpecifies that all FINDs done by Janus Specialty Data Store are to be done as Find Without Locks.
FORMPOSTWAITThe default number of seconds to wait for the POST'ing of a form while using $Web_Form_Done.
FORMREDIRWAITThe default number of seconds to wait for the client on a WEBSERV port (presumably a browser) to do the GET associated with a redirect generated by a $Web_Form_Done call.
FINCLOSEAffects how Janus Sockets applications respond to a closed connection.
HIGHPRIORITYAdjusts the Model 204 scheduling priority of Janus Web Server threads by starting them at the upper end of their priority range rather than at their default priority.
HTTPVERSIONSets the HTTP version returned to the browser by Janus Web Server.
IBSIZESpecifies the size of the TCP/IP input buffer.
INPUTTIMEOUTTells Janus Web Server to use a different timeout value for input (receiving the web request) than for output.
JANCATSpecifies the name of the file that contains the Model 204 to SQL mappings.
KEEPALIVEIndicates the number of seconds a TCP/IP connection is to be held open after an HTTP request on that connection.
LANGUAGEIndicates, to the remote host, the language being used by Janus.
LEGBLSets blink, underscore and reverse characteristics for Janus Legacy screens.
LEGCSS and NOLEGCSSIndicates whether or not Janus Web Legacy Support is to use Cascading Style Sheets.
LEGJS and NOLEGJSIndicates whether or not Janus Web Legacy Support is to use JavaScript.
LFIndicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').
LINENDSpecifies the hex value of a string to be sent by Janus Sockets at the end of each "line;" that is, appended to the string sent by the $Sock_SendLn function or Socket SendWithLineEnd function or after each output line captured on the socket.
LOGSpecifies that all Janus Web Server requests for the port are to be logged to a sequential dataset whose DDNAME is specified by xxxx.
LOGAPPENDIndicates that the Janus Web Server log dataset for the port is to be opened in APPEND mode.
LOGCLOSETIndicates how often the Janus Web Server log dataset is to be "closed", that is how often the DSCB is to be updated for the log dataset.
LOGGMTIndicates that the time stamps in the Janus Web Server log dataset for the port are to be represented as GMT instead of local time.
LOGMSGIPrevents Janus Web Server from saving Model 204 messages issued during logon for a web user.
MASTERSpecifies that this is the default port for outgoing client communication.
MAXCURSSpecifies the maximum number of cursors that can be opened for a single Janus Specialty Data Store connection.
MAXIPSESSpecifies the maximum number of Janus Web Legacy Support sessions maintained per IP address.
MAXRECSpecifies the maximum record length for input records on a Janus IFDIAL port.
MAXSAVESpecifies the maximum number of compiled SQL requests to save in CCATEMP.
MAXTEMPSpecifies the maximum number of CCATEMP pages allowed to be used by a web request for holding input (file upload) and output (dynamically generated HTML) data.
MSGSEND and NOMSGSENDIndicates whether or not Model 204 messages (as opposed to the output from PRINT or HTML statements) are to be sent to the browser.
MSG204Specifies the Sybase message number to be used to return terminal output to the client.
MSG204LSpecifies the Sybase message number to be used to return terminal output to the client.
NEWPASSWORDCThis parameter prevents Janus Web Server from immediately sending an "Unauthorized" response to a browser after a password change.
NEWSESCMDSpecifies the Model 204 commands to be executed when a new login session is initiated.
NEWSESGUESTOKIndicates that "guest" logins are to be allowed for $Sir_Login calls in programs run as part of NEWSESCMD processing.
NEWSESNOCLEARGIndicates that GTBL is not to be cleared at the end of NEWSESCMD command processing.
NEWSESOPENSpecifies the names of one or more Model 204 files or groups to be opened before any NEWSESCMD commands are executed.
NOAUDTERMThis parameter is used to control whether the server thread sends "non-compiler terminal output" to the audit trail.
NOAUTODONEPrevents Janus Web Server from treating a return to command mode after all port and ON rules CMDs have been processed as an implicit $Web_Done.
NOAUTOONPrevents Janus Web Server from preceding the execution of the command specified in a JANUS WEB ON rule with an implicit $Web_On.
NOSCREENREDIRIndicates that Janus Web Server legacy support (automatic mapping of 3270 applications to HTML) is not to use the redirect's to map all screens for a legacy session to the same URL.
NOTRACEFIELDIndicates the form field or fields whose values are not to be traced when the X'04' bit (causes tracing of form field values for web requests) of JANUS TRACE is in effect.
NOUPCASEIndicates that no client data is to be converted to uppercase.
OBSIZESpecifies the size of the TCP/IP output buffer.
OMNIACCTSpecifies the Model 204 ACCOUNT for the Janus Specialty Data Store catalog sdaemon for the port.
OMNIUSERSpecifies the Model 204 user ID for the Janus Specialty Data Store catalog sdaemon for the port.
OPENSpecifies the name of one or more Model 204 files or groups to be opened when a server session is initiated.
PASVPORTIdentifies the first FTP server port number to use for “passive” file transfers.
PRELOGINUSERIndicates the userid under which pre-login processing runs.
PRSTOKSpecifies the hex values of strings that are used to separate input strings using the $Sock_RecvPrs function or Socket ReceiveAndParse function.
PUBLOGIndicates that a "real" login should be done for the SOCKUSER userid for SRVSOCK logons.
RAWINPUTTells Janus Web Server to save the raw input stream for an HTTP POST, regardless of the mime type set by the client in the content-type header.
RAWINPUTONLYindicates that, regardless of the POST data content-type set by the client, Janus Web Server should: 1) Save the raw input stream of an HTTP POST and 2) Refrain from parsing the input content into form fields.
RBSIZESpecifies the Janus RPC or Request buffer size.
REMOTEIdentifies the remote server and the remote port number to be used with a set of Janus Sockets CLSOCK connections.
RPCONLYIndicates that only RPC requests are allowed on the port.
SCREEN and NOSCREENIndicates whether or not Janus Web Legacy screens will be allowed to appear on requests to the port.
SCREENURLIndicates that Janus Web Server legacy support (automatic mapping of 3270 applications to HTML) is to switch web applications that present a 3270 screen to a special internally generated URL.
SDSACCTSpecifies the Model 204 ACCOUNT for the Janus Specialty Data Store catalog sdaemon for the port.
SDSUSERspecifies the Model 204 USER for the Janus Specialty Data Store catalog sdaemon for the port.
SESCOOKIEIndicates the name of a cookie that will be used to maintain logical sessions that will be used to perform trusted logins.
SESCOOKIENOSECIndicates that the cookie specified by SESCOOKIE will not be sent to the browser as a "secure" cookie.
SESFASTLOGINReduces the login security overhead for Janus Web Server threads by causing a login performed for a continued session to be a "fast" login.
SESTIMEOUTIndicates the number of minutes of inactivity that will cause a logical login session being held either via SESCOOKIE or SSLSES to be terminated.
SLOWCLOSESpecifies a bitmask that indicates the conditions under which Janus Web Server is to perform a "slow" close of a connection with a browser.
SOCKACCTSpecifies the default Model 204 account ID used for SRVSOCK logons.
SOCKPMAXSpecifies the maximum number of sockets a user may have connected at any time using the particular Janus Sockets client port.
SOCKUSERSpecifies the default Model 204 user ID used for SRVSOCK logons.
SQUAREBOverrides the default EBCDIC characters for square brackets in the Janus Web Server log file.
SSLIndicates that communications on this port should be encrypted using SSL (Secure Sockets Layer) or TLS (Transport Layer Security) support.
SSLBSIZESpecifies the size of the input buffer used for reading encrypted data for an SSL port.
SSLCACHESpecifies the number of entries in virtual storage to be allocated for caching information related to this port's SSL sessions.
SSLCIPHLimit the stream ciphers (encryption algorithms) that this port offers for SSL connections.
SSLCLCERT and SSLCLCERTRSpecify that an SSL server port will request an SSL certificate from the client.
SSLIBSIZESpecifies the size of the SSL input buffer to be used on SSL ports.
SSLMAXAGESpecifies the maximum number of minutes that an SSL session is to be maintained.
SSLMAXCERTLIndicates the number of bytes of virtual storage to be allocated to hold incoming certificates presented for authentication.
SSLOBSIZESpecifies the size of the SSL output buffer to be used on SSL ports.
SSLOPTSpecifies that the use of SSL-like encryption is optional for applications using the port.
SSLPROTSpecify the degree of SSL-like encryption available at this port.
SSLSESReduces the overhead of NEWSESCMD processing by limiting it to logical session establishment time.
SSLUNENCIndicates that an unencrypted private key is being used in the certificate specified by the SSL parameter on this Janus server port definition.
STIMEOUTSets the number of seconds of inactivity after which a Janus Web Legacy session is terminated.
TCPLOGTells Janus Web Server to log in a sequential dataset all inbound and outbound TCP data transmitted for this port.
TCPKEEPALIVESpecifies that connections on the port should use TCP keepalives.
TIMEOUTSpecifies the number of seconds of inactivity after which clients connected to this port will be disconnected.
TRACESpecifies the initial TRACE setting for the port.
UPCASEIndicates that all client "names" are to be converted to uppercase.
VARIPADDRIndicates that a single browser might access Janus Web Server using different IP addresses.
WEBACCTSpecifies the default Model 204 account ID used for web logons for URLs where no userid is required.
WEBCOOKIDIndicates that an identifying "cookie" should be sent to a browser to distinguish multiple browsers coming through the same proxy server or running on the same machine.
WEBLHSynonym for WEBLOGHOLD.
WEBLMSynonym for WEBLOGMAX.
WEBLOGCOOKIEIndicates that, for public URLs, Janus Web Server should log the user in with the userid specified by cookie-name. Normally, all public URL logins use the default public userid (usually WEBUSER).
WEBLOGHOLDIndicates the number of seconds that a "real" login should be saved for re-use on a web connection.
WEBLOGMAXIndicates the maximum number of cached login sessions to be held for a single user.
WEBPLSynonym for WEBPUBLOG.
WEBPUBLOGIndicates that a "real" login should be done for the WEBUSER userid for public URLs.
WEBREALMIndicates the security "realm" of userids and passwords.
WEBSDMAXIndicates the maximum number of sdaemons to be used for cached web logins.
WEBSMSynonym for WEBSDMAX.
WEBUSERSpecifies the default Model 204 user ID used for web logons for URLs where no userid is required.
WSFQUERYIndicates that Janus is to issue a “Write Structured Field Query” request to any telnet client that connects to it.
XTABSpecify a translation table that has not yet been loaded with the JANUS LOADXT command, but the table must be loaded before the port can be started.

See also