Snacfg TN5Session
Purpose
Allows you to view, add, delete, or modify TN 5250 sessions. SNA Server Manager is the recommended interface for adding sessions.
Note Configuration settings specified with snacfg tn5session correspond to session settings configured with SNA Server Manager.
Syntax
snacfg [#configpath] TN5Session /list
snacfg [#configpath] TN5 Session appcrlualias
snacfg [#configpath] TN5 Session appcrlualias /print
snacfg [#configpath] TN5 Session appcrlualias /add / [options]
snacfg [#configpath] TN5 Session appcrlualias [options]
snacfg [#configpath] TN5 Session appcrlualias /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 sessions on the local subdomain.
- appcrlualias
- Specifies the APPC remote LU alias name on which the session will be activated.
- /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 a TN 5250 session called appcrlualias. For adding a session, the recommended method is to use SNA Server Manager, not snacfg tn5session.
- /delete
- Deletes appcrlualias.
Options for TN 5250 Sessions
- /tn5server:tn5servername (required)
- Specifies the computer name of the TN 5250 server on which settings will be viewed or changed.
- /locallu:appclualias (required)
- Specifies the name of the APPC LU alias to view, add, modify, or delete. An APPC LU alias name can be from one through eight characters long, and can contain alphanumeric characters and the special characters $, #, and @. Lowercase letters are converted to uppercase. The APPC LU alias name cannot be the same as any other APPC LU alias name or pool name on the server.
- /mode:modename
- Specifies the name of the mode on which to carry out actions. A mode name can be from one through eight characters long, and can contain alphanumeric characters and the special characters $, #, and @. Lowercase letters are converted to uppercase. The mode name cannot be the same as any other mode name in the subdomain of the server.
If no options are specified after modename, the configuration settings for the specified mode are displayed.
- /user:username
- Specifies the name of the user to view, change settings for, or delete. For adding TN 5250 users, the recommended method is to user SNA Server Manager, not snacfg tn5session. If you are adding a user, username must match the name in the user’s account on theWindows NT domain or on the local system.
- /password:password
- Specifies the current password for the user’s account identified in username.
- /modeltypes:model (,model, …)
- Specifies the model type. Values for TN5250 model types are:
5555_C01, 5555_B01, 3477_FC, 3477_FG
3180_2, 3179_2, 3196_A1
5292_2, 5291_1, 5251_11
- /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"
- Optionally, type a comment of up to 25 characters.