|
|
|
|
This chapter provides reference information about administration commands used for configuring, defining, deleting, querying, checking status, starting, and stopping the following resources: local nodes, connectivity components, directory entries, network topology (query only), type 0-3 LUs and pools, 3270 and 5250 users, 3270 domain resources, and RJE workstations. The commands are listed in alphabetical order.
The activate_session command requests SNAP-IX to
activate a session between the local LU and a specified partner LU, using
a specified mode. You must issue an initialize_session_limit
command before issuing an activate_session command unless
the cnos_permitted parameter is set to
This command must be issued to a running node.
Parameter name Type Length Default [activate_session] lu_name character 8 (null string) lu_alias character 8 (null string) plu_alias character 8 (null string) mode_name character 8 fqplu_name character 17 (null string) polarity constant POL_EITHER cnos_permitted constant YES
Supplied parameters are:
LU name of the local LU. This name is a type-A character string. To indicate that the LU is defined by its LU alias instead of its LU name, do not specify this parameter.
LU alias of the local LU. This alias is a character string using any locally displayable characters. This parameter is used only if lu_name is not specified.
If lu_name and lu_alias are not specified, the command is forwarded to the LU associated with the CP (the default LU).
LU alias of the partner LU. This alias is a character string using any locally displayable characters. To indicate that the partner LU is defined by its fully qualified LU name instead of its LU alias, do not specify this parameter.
Name of the mode to be used by the LUs. This name is a type-A character string starting with a letter.
Fully qualified name of the partner LU. Specify 3-17 type-A characters that consist of a 1-8 character network name, followed by a period, followed by a 1-8 character partner LU name.
This parameter is used only if the plu_alias parameter is not specified; it is ignored if plu_alias is specified.
The polarity for the session. Possible values are:
If
Indicates that CNOS processing is permitted. Possible values are:
CNOS processing is permitted.
CNOS processing is not permitted.
If the activation of a new session is not possible because the session
limits for the specified mode are reset, and this parameter is set to
If the command executes successfully, the following parameters are returned:
OK
Possible values are:
The session was activated successfully; the session limit defined for the mode was negotiated during the activation process.
The session was activated successfully; the session limit was not changed.
The session ID of the new session.
If the command cannot be executed, SNAP-IX returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
If the command does not execute because of a parameter error, SNAP-IX returns the following parameters:
PARAMETER_CHECK
Possible values are:
The session cannot be activated because this would exceed the current session limit for this LU-LU-mode combination.
The lu_alias parameter did not match any defined local LU alias.
The lu_name parameter did not match any defined local LU name.
The fqplu_name parameter did not match any defined partner LU name, or the plu_alias parameter did not match any defined partner LU name.
The value specified in the cnos_permitted parameter was not valid.
No specific state errors, other than those listed in Common Return Codes from snaadmin Commands, occur for this command.
If the command does not execute because other conditions exist, SNAP-IX returns the following parameters:
The session could not be activated because of a condition that requires action (such as a configuration mismatch or a session protocol error). Do not retry activating the session. Check the SNAP-IX log file for information about the error condition and correct it before retrying.
The session could not be activated because of a temporary condition (such as a link failure). Retry, preferably after a timeout to allow the condition to clear. Check the SNAP-IX log file for information about the error condition.
A secondary return code is not returned.
Common Return Codes from snaadmin Commands lists combinations of primary and secondary return codes that are common to all commands.
|
|
|
|
|