Administration Commands

deactivate_session

plu_alias

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.

mode_name

Name of the mode to be used by the LUs. This name is a type-A character string starting with a letter.

type

Type of deactivation. Possible values are:

DEACT_CLEANUP

Deactivate the session immediately, without waiting for a response from the partner LU.

DEACT_NORMAL

Do not deactivate the session until all conversations using the session have ended.

sense_data

If type is set to DEACT_CLEANUP, the sense_data parameter specifies the sense data to be used when deactivating the session (specified as a 4-byte hexadecimal number preceded by 0x, for example 0x84000007). Otherwise, this parameter is not used.

fqplu_name

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.

2.8.2 Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

2.8.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 specific 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_CLEANUP_TYPE

The type parameter was not set to a valid value.

INVALID_LU_ALIAS

The lu_alias parameter did not match any defined LU alias.

INVALID_LU_NAME

The lu_name parameter did not match any defined LU name.

56

Page 56
Image 56
HP UX Internet and Networking Software manual Plualias