Command-Line Utilities

Another way to perform SNA Node operations is to use the command line. Five command line programs are available to perform basic operations for the SNA Node.
CSSTART [ -p | -q | -c | -a ] [ -m | -d ] [ cfgfile ]
Use the CSSTART command to start the SNA Node with a specified configuration. The -a flag enables automatic start up after rebooting the machine. The -d flag sets the default SNA node configuration file. The -m flag stands for manual start which disables automatic start up after rebooting the machine. If the -p flag is used, all messages are shown in a message box pop-up. Messages are written to stdout by default. The -q flag suppresses all output. The -h flag summons the help data for this command. The cfgfile parameter is the name of the configuration file you want to use to start the product. If no cfgfile parameter is specified, the default configuration file is used. If no default configuration file has been set, an error is reported. If the node is successfully started, CSSTART returns zero, otherwise a nonzero value is returned.
CSSTOP [ -p | -q | c ][ -h ]
Use the CSSTOP command to stop the SNA Node. The flags have the same meaning as for CSSTART. If the node is successfully stopped then CSSTOP returns zero, otherwise a nonzero value is returned. The -c flag convert output to Windows® code page. This option is intended to use with the Tivoli-integration support for Personal Communications.
CSQUERY [ -p | -q | c ][ -h ]
Use the CSQUERY command to query the status of the SNA Node. The flags have the same meaning as for CSSTART. Along with the status, the default and active configuration file names are shown. If the node is running, then CSQUERY returns zero; otherwise a nonzero value is returned. The -c flag convert output to Windows® code page. This option is intended to use with the Tivoli-integration support for Personal Communications.
CSDSPY {resource [resource_id] [⁄D#]} [/C][ -h ]
Displays information about SNA node resources, where:
resource
One of the following:
AIL
AnyNet® IP to LU mapping
CNT
Connection networks
CON
Connections
CPS
CPI-C side information
DLC
Data link controls
DEV
Devices
DPU
DLUR PUs
FPT
Focal Points
LU0
Local LU 0 to 3
L62
Local LU 6.2
L6S
LU 6.2 sessions
MOD
Modes
NOD
Nodes
PLU
Partner LU 6.2
RTP
RTP connections
TRP
Transaction programs
object_id
Specifies a case-sensitive value (for example, LU001 or LINK001) to search for. Only objects whose first attribute matches this value are displayed. The object_id must be spelled correctly, including case (upper and lower). An incorrect object_id will result in nothing being displayed.
⁄D#
Specifies the level of detail to display. # has the value 1, 2, or 3, where 1 displays the least level of detail and 3 shows all information. 2 is the default.

The -c flag convert output to Windows® code page. This option is intended to use with the Tivoli-integration support for Personal Communications.

CSMODIFY {resource resource_id action} [/C][ -h ]
Enables you to control SNA node resources, where:
resource
Is one of the following:
CON
Connections. You can start, stop, or delete this resource.
CPS
CPI-C side information. You can delete this resource.
DLC
Data link controls. You can start, stop, or delete this resource.
DEV
Devices. You can start, stop, or delete this resource.
DPU
DLUR DPUs. You can start or stop this resource.
LU0
Local LU 0 to 3. You can delete this resource unless the LU is in use.
L62
Local LU 6.2. You can delete this resource.
RTP
RTP connections. You can switch the path of this resource.
object_id
Specifies a case-sensitive value (for example, LU001 or LINK001) to search for. Only objects whose first attribute matches this value are displayed. The object id must be spelled correctly, including case (upper and lower). An incorrect object id will result in an error being displayed.
action
One of the following:
SN
Normal stop
SI
Immediate stop
ST
Start
DL
Delete
PS
Path switch
[-h]
This switch is used to summon help data for this command.

The -c flag convert output to Windows® code page. This option is intended to use with the Tivoli-integration support for Personal Communications.