Command Reference Guide

Administration Commands
dene_mode
This parameter is ignored if list_options is set to FIRST_IN_LIST.
timeout
Timeout period in seconds. A value of 0 (zero) indicates that the session immediately becomes free.
2.40.2 Returned Parameters
If the command executes successfully, SNAplus2 returns the following parameter:
OK
The command executed successfully.
2.40.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a
secondary return code to provide specic details about the reason for unsuccessful execution.
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
Possible values are:
INVALID_RESOURCE_TYPE
The type of timeout dened was not valid.
INVALID_LU_NAME
The resource_type parameter specied an LU name that was not valid.
INVALID_PARTNER_LU
The resource_type parameter specied a partner LU name that was not valid.
INVALID_MODE_NAME
The resource_type parameter specied a mode name that was not valid.
State Check
No specic state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands,
occur for this command.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary
return codes that are common to all commands.
2.41 dene_mode
The define_mode command denes a mode (a set of networking characteristics to be used by a group of sessions)
or modies a previously dened mode. You cannot modify the SNA-dened mode CPSVCMG or change the COS
name used by the SNA-dened mode SNASVCMG.
134