You can use the BS2000 command SHOW-FTP-TELNET-STATUS to obtain information on the current settings of BS2000 TELNET servers.
The following information is output:
Settings made when the servers were generated
Current information on the server task’s TSN and number of active connections
The servers place the data in auxiliary files with the following names:
SYSDAT.TCP-IP-AP.nnn.TELNETD.CONF.<port>
<port> specifies the port number of the relevant server.
These files are deleted when the server is shut down.
SHOW-FTP-TELNET-STATUS | |||||||||||||||||||||
|
SERVER=
Name of the server whose data is to be output (FTP or TELNET).
SERVER=*TELNET(...)
Output of a TELNET server’s configuration data.
PORT-NUMBER=
Port number of the TELNET server whose configuration data is to be output.
PORT-NUMBER=*STD-PORT
Port number 23. This is the default.
PORT-NUMBER=*ANY
Information on all TELNET servers currently active is output.
PORT-NUMBER=< integer 0..32767>
Port number of the TELNET server whose configuration data is to be output.
INFORMATION=
Type and scope of the information output.
INFORMATION= *STD
Output of a list of servers specified by PORT-NUMBER. This is the default.
INFORMATION= *ALL
Output of all information on all servers specified by PORT-NUMBER.
OUTPUT=
Output medium to which the information is to be written.
OUTPUT=*SYSOUT
Output is to SYSOUT. This is the default.
OUTPUT=*SYSLST
Output is to SYSLST.
Messages
|
Meaning Response |
|
Meaning Response |
|
Meaning Response |
TCP9243 |
Meaning Response |
Command return codes
(SC2) | Maincode | Meaning |
0 | TCP9240 | Command successfully completed |
64 | TCP9241 | See message TCP9241 |
64 | TCP9242 | See message TCP9242 |
64 | TCP9243 | See message TCP9243 |