Snacfg SFAS400

Purpose Allows you to view, add, delete, or modify AS400 computers. This command can also be used to add a Shared Folders server, though SNA Server Manager is the recommended interface for adding AS/400 computers. Syntax snacfg [#configpath] sfas400 / list
snacfg [#configpath] sfas400 sfas400name
snacfg [#configpath] sfas400 sfas400name /print
snacfg [#configpath] sfas400 sfas400name /add [options]
snacfg [#configpath] sfas400 sfas400name [options]
snacfg [#configpath] sfas400 sfas400name /delete
 
#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 AS/400 computers connected to the Shared Folders server.
Sfas400name
Specifies the computer name of the AS/400 computer 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 AS/400 computer called sfas400name. For adding an AS/400 computer, the recommended method is to use SNA Server Manager, not snacfg sfas400.
/delete
Deletes sfas400name.
Options for Shared Folders AS/400 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.
/server:"servername"
assigns the AS/400 to the specified server. The server must be the one on which the sfas400name (remote APPC LU) resides. The quotes must be included.
/locallu:luname
Assigns the specified local APPC LU to the Shared Folders AS/400.
/username:username
Sets the Shared Folders AS/400's user name field.
/password:password
Sets the Shared Folders AS/400's password field.
/node:nodename
Should match the servername above.