Snacfg TN5Server

Purpose Allows you to view, add, delete, or modify TN 5250 servers. SNA Server Manager is the recommended interface for adding TN 5250 servers.

Note   Configuration settings specified with snacfg tn5server correspond to server settings configured with SNA Server Manager. Syntax snacfg [#configpath] TN5Server /list
snacfg [#configpath] TN5Server TN5Servername
snacfg [#configpath] TN5Server TN5Servernname /print
snacfg [#configpath] TN5Server TN5Servernname /add / [options]
snacfg [#configpath] TN5Server TN5Servername [options]
snacfg [#configpath] TN5Server TN5Servername /delete

where
 

#configpath
*Specifies the path of the configuration file to view or change. If the configuration path is omitted, SNA Server will attempt to access the configuration file on the local system, using the path \SNAServerRoot\SYSTEM\CONFIG\COM.CFG, where SNAServerRoot is the SNA Server root directory.
/list
Generates a list of the TN 5250 servers on the local subdomain.
Tn5servername
Specifies the computer name of the TN 5250 server on which settings will be viewed or changed.
/print
Displays a list of the configuration settings of a print session. The displayed command does not contain the word snacfg so that it can be redirected to a command file. Command files are discussed earlier in this chapter.
/add
Adds an SNA Server computer called tn5servername. For adding a TN 5250 server, the recommended method is to use SNA Server Manager, not snacfg tn5server.

Before you can add connections to the server, link services must also be configured for the server. The recommended interface for configuring link services is SNA Server Manager.

/delete
Deletes tn5servername.
Options for TN 5250 Servers
 
/portnumber:value
Specifies the port number associated with telnet (e.g., port number 23). You can type another port number to override the default value for a given session. TN services listen on multiple ports simultaneously. You can set a default port number for the TN service (assign the port number to the server) and override this number on a per session basis (assign the port number to the LU session), allowing a single client to connect to multiple host computers.
/comment:"text"
Adds an optional comment for the specified server. The comment can contain as many as 25 characters; enclose the comments in quotes.