The text of a manual · part 6 of 10
6224 Session Manager Reference Guide: Chapter 3 Software Configuration, pages 45 to 53
Pages 45 to 53 of 78, from 6224 Session Manager Reference Guide
The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the LXE 6224
Page 45
Commands and Functions
35 setAlogin xxxxxx,1,"yyyyy","zzzzz" Where: The xxxxxx is replaced with the secondary ID of the RF PC in hexadecimal notation (i.e., 0x0045). The 1 indicates this is the second line of the script The yyyyy is replaced with the second prompt that is expected from the host. The zzzzz is replaced with the response that the 6224 must return to the host in answer to the prompt that was received. The syntax for the third line of an auto login script is as follows (note the quotation marks and commas also note the space after the word Alogin): setAlogin xxxxxx,2,"yyyyy","zzzzz" Where: xxxxxx is replaced with the secondary ID of the RF PC in hexadecimal notation (i.e., 0x0045). The 2 indicates this is the third line of the script The yyyyy is replaced with the third prompt that is expected from the host. The zzzzz is replaced with the response that the 6224 must return to the host in answer to the prompt that was received.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 46
36
Commands and Functions setAutologinTimeout ANSI only This parameter is used by the process monitoring autologin activity. During autologin something could go wrong (dropped or faulty exchange with the host, wrong autologin, etc.) and the autologin process could be suspended. This could result in a blocked session. A process in the 6224 monitors the time it takes for an autologin to take place. If this time is greater than the time specified by setAutologinTimeout, the process automatically closes the terminal and host sockets. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows (note the space after the word Timeout): setAutologinTimeout xxx Where xxx is replaced with a numeric value indicating the desired number of seconds for the timeout.
setDefaultHost Both ANSI and IBM The “default host” is the host computer to which any PC will be connected if you have not programmed a specific host for that specific PC. See the parameter setTermHost later in this section for setting a host other than a default host. The command syntax for setting the default host and port number is as follows: setDefaultHost This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The IP address of the default host and the port number on that host must follow the command as indicated in the following example: setDefaultHost "xxx.xxx.xxx.xxx",yyy Where: xxx.xxx.xxx.xxx is replaced with the IP address of the default host and yyy is replaced with the port number (in decimal notation) on that host. A port number must be entered even if the “well known” (23) Telnet port is desired. Note the IP address is enclosed in quotation marks and the IP address and port fields are separated by a comma. The data must be entered in that format.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 47
Commands and Functions
37 setDefaultSess Both ANSI and IBM The default sessions parameter sets the default host management flag. The value of this parameter indicates whether sessions (connections) with the default host should be maintained if RF communication with the RF PC is interrupted. A value of zero (0) at this parameter disables session management. A value of one (1) enables session management. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. Disable The command syntax to disable default host session management is as follows (note the space before the zero): setDefaultSess 0 When session management is disabled, a new session (connection) is created any time a RF PC attempts to connect to the default host. If a connection had already existed for a given RF PC, the 6224 would sever the existing connection then establish a new connection for that RF PC. Enable The command syntax to enable default host session management is as follows (note the space before the one): setDefaultSess 1 When session management is enabled, an existing connection is maintained when a RF PC attempts to connect to the default host. In this case, the PC that has been absent from its session (out of RF range or powered off, etc.) will be reconnected to its existing session, when it returns.
setDefaultWdog Both ANSI and IBM Sets the default orphan session management flag, indicating whether sessions are to be cancelled after a specified inactivity period or not. This value is used if the terminal is not found in the list of specific terminals. Note that if the terminal is in the list, the value set by setTermWdog takes precedence over the value set by setDefaultWdog. setDefaultWdog 0 setDefaultWdog 1
E-SW-6224RG-F-ARC
Disables orphan session management Enables orphan session management
6224 Session Manager Reference Guide
Page 48
38
Commands and Functions setHostIP LDS Only This parameter provides the capability of specifying a host IP address. When the 6224 is initiating the host connection, this is the IP address with which it will try to make the connection using the specified port. Specification of this parameter is not necessary if the host is initiating the connection. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setHostIP ”yyy.yyy.yyy.yyy” Where yyy.yyy.yyy.yyy is replaced by the IP address of that host. The quotation marks are required. Following is an example: setHostIP ”141.186.24.103” Note:
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
setHostMode LDS Only See also : setHostPort This parameter provides the capability to configure the 6224 as either a "client" or a "server". As a server, the 6224 listens for a connection request from the host. As a server the 6224 need only know what port to "listen" on. Note that this command describes what the host configuration will be, not the LDS controller's modes. As a client, the 6224 requests a connection from the host and it must be setup with the IP address of the host and what port to use to contact the host with its connection request. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. Parameters "client", "server" The command syntax is as follows: setHostMode ”xxxxxx” Where xxxxxx is replaced by either parameter value. The quotation marks are required. Following is an example: setHostMode ”client” (causes the 6224 to accept the connection from the host on the 6224 host port) setHostMode ”server” (the host will listen for the connection request from the 6224)
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 49
Commands and Functions Note:
39
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
setHostName Both ANSI and IBM This parameter provides the capability of creating a cross reference table in the 6224 to relate the names of hosts to their IP addresses. Once entered into the table, the host may be referred to by its name (alias) in subsequent open commands. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setHostName ”xxxxxxx”,”yyy.yyy.yyy.yyy” Where xxxxxxx is replaced by the name of the host and yyy.yyy.yyy.yyy is replaced by the IP address of that host. The quotation marks and the comma are required. Following is an example: setHostName ”as400”,”141.186.24.103” setHostPort LDS Only See also : setHostMode This parameter is used to set the host port number – the port number on the host the 6224 will use to make a connection to the host if the 6224 is initiating the host connection – and the port number the 6224 will listen on for the connection request coming from the host if the host is initiating the host connection. The host port number may be any "legal" port number and should not be any "well-known" port number. The default is 5000. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setHostPort value Where value is replaced by a "legal" port number in decimal notation. Following is an example: setHostPort 4500 Note:
E-SW-6224RG-F-ARC
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
6224 Session Manager Reference Guide
Page 50
40
Commands and Functions setHostTBR LDS Only This parameter is used to set the time delay for connection retries. When the 6224 is initiating the connection with the host and the connection is not established, the interval set with this parameter must elapse before an attempt to connect is performed again. The 6224 will continue indefinitely, waiting the specified parameter between retries, until either the user intervenes or the connection is made. Note:
If the host is initiating the connection, the setHostTBR parameter is ignored.
This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setHostTBR value Where value is replaced by a number representing seconds. Following is an example: setHostTBR 30 retries) Note:
(a timed interval of 30 seconds will elapse between connection
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
setMultSess ANSI only This command allows an RF PC user to start multiple sessions with a host (or different hosts) from the same physical terminal. It is accomplished by changing the terminal’s secondary ID. Suppose that entries for RF PC IDs 0010 and 0011 have been programmed into the 6224. Further, suppose the autologin script and host are different for each of the RF PC IDs. The RF PC user can switch between each session, once established, by changing the secondary ID at the PC. It is the user’s responsibility to close each session since closing one will not automatically close the other(s). This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setMultSess 0 OR setMultSess 1 The zero (0) argument disables multiple sessions. The one (1) argument enables multiple sessions. Note the space following the word Sess.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 51
Commands and Functions
41 setSessmgrPort Both ANSI and IBM This parameter allows you to change the setting of the “listen” port. The listen port is the port number that the 6224 Session Manager monitors (listens on ) for PC requests for a host connection. By default, a value of 4000 is assigned for this purpose. If you must (or just want to) you can change this setting. If you do modify this parameter, insure that you do not assign a value of one of the “well-known” ports. For a successful connection, the terminal must “open” a connection to the IP address of the 6224 including the value of the listen port in the command. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax for modifying this parameter is as follows: setSessmgrPort value Where value is replaced by the new port number in decimal notation. Note the space before the value. An example follows: setSessmgrPort 3500 setTermHost Both ANSI and IBM This parameter provides the capability of programming a specific RF PC to connect to a host other than the default host. It enters the RF PC’s IP address in the list of specific PCs. If this PC was not already in the list, its session management flag is automatically set to 1 (enabled). Setting the flag to 1 results in maintaining any current connection whenever this PC attempts to connect. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows (note the space after the word Host in the command): ANSI:
setTermHost 0xnnnn,"yyy.yyy.yyy.yyy",xxx
IBM:
setTermHost "zzz.zzz.zzz.zzz","yyy.yyy.yyy.yyy",xxx
Where: ANSI : 0xnnnn is replaced with the secondary ID in hex notation IBM : zzz.zzz.zzz.zzz is replaced with the IP address of the RF PC in quotes. BOTH : yyy.yyy.yyy.yyy is replaced with the IP address or host name of the host computer. BOTH : xxx is replaced with the port number (in decimal notation) on that host. Note the quotation marks around the IP address (or name) of the host computer and the commas between each of the three fields. Following is an example of the command: ANSI: setTermHost 0x0014,"141.186.24.35”,23 IBM:
setTermHost "141.186.24.81","141.186.24.35",23
Note:
If setHostName had been used to set 141.186.24.35 to "as400", the following command could be used:
ANSI: setTermHost 0x0014,"as400",23
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 52
42
Commands and Functions IBM:
setTermHost "141.186.24.81","as400",23
See also setDefaultHost.
setTermPort LDS Only This parameter is used to set the TCP port number in the 6224 for incoming connections from LDS terminals. The host port number may be any "legal" port number and shouldnot be any "well-known" port number. The default is 4000. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: setTermPort value Where value is replaced by a "legal" port number in decimal notation. Following is an example: setTermPort 3500 Note:
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
setTermSess Both ANSI and IBM This parameter provides the capability of programming the session management flag for a specific RF PC. It allows setting the session management to a value that is specific for a particular RF PC. Disable This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax to disable session management for a specific RF PC is as follows (note the comma before the zero also note the space after the word Sess): ANSI: setTermSess 0xnnnn,0 IBM:
setTermSess "xxx.xxx.xxx.xxx",0
Where ANSI : 0xnnnn is replaced with the secondary ID in hex notation IBM : xxx.xxx.xxx.xxx is replaced with the IP address of the specific RF PC in quotes. Following is an example of this command: ANSI: setTermSess 0x0014,0 IBM:
setTermSess "141.186.24.81",0
Enable This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax to enable session management for a specific RF PC is as follows (note the space following the word Sess and the comma separating the two input fields):
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 53
Commands and Functions
43
ANSI: setTermSess 0xnnnn,1 IBM:
setTermSess "xxx.xxx.xxx.xxx",1
Where ANSI : 0xnnnn is replaced with the secondary ID in hex notation IBM : xxx.xxx.xxx.xxx is replaced with the IP address of the specific RF PC in quotes. If a PC is not in the list of specific PCs, setting its session to enabled will result in that PC reverting to the default host and port. Following is an example of this command: ANSI: setTermSess 0x0014,1 IBM:
setTermSess "141.186.24.81",1 setTermWdog Both ANSI and IBM Use this option to allow the watchdog feature to control on a terminal by terminal basis rather than using the global option, setDefaultWdog n. In cases where both are being used, the individual terminal's setting overrides the global setting. ANSI: setTermWdog <secondary ID>, n IBM:
setTermWdog <terminal IP>, n
Where ANSI : <secondary ID> is in hexadecimal notation IBM : <terminal IP> is the terminal's IP address in quotes and n is either 1 to enable the feature, or 0 to disable the feature.
setWdogDelay IBM, ANSI and LDS This parameter sets the length of time in seconds to wait before sending the first ping. Range is 0 to 36000 seconds. The default is 3600 seconds. setWdogDelay <length of interval in seconds>
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide