Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Displaying the current settings of TELNET servers

&pagelevel(3)&pagelevel

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= *FTP(...)/ *TELNET(...)

*FTP(...)

|PORT-NUMBER= *STD-PORT / *ANY / <integer 0..32767>

*TELNET(...)

|PORT-NUMBER=*STD-PORT / *ANY / <integer 0..32767>
, INFORMATION= *STD /*ALL
, OUTPUT=*SYSOUT/*SYSLST


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

TCP9240

COMMAND SHOW-FTP-TELNET-STATUS SUCCESSFULLY COMPLETED.

Meaning
SHOW-FTP-TELNET-STATUS successfully completed.

Response
<None>

TCP9241

ERROR DMS(&00) DURING EXECUTION OF FSTAT.

Meaning
Error during execution of FSTAT on configuration files.

Response
Check whether any servers are active.

TCP9242

COULD NOT OPEN CONFIGURATION FILE (&00).

Meaning
Desired server not active or configuration file (&00) locked.

Response
Check whether the desired server is active.

TCP9243

COULD NOT READ CONFIGURATION FILE (&00).

Meaning
Configuration file (&00) could not be read.

Response
Check file.


Command return codes

(SC2)      SC1

Maincode

Meaning

0TCP9240Command successfully completed
64TCP9241See message TCP9241
64TCP9242See message TCP9242
64TCP9243See message TCP9243