Administration Commands
define_sdlc_port
2.52.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_PORT_NAME
The value specified in the port_name parameter was not valid.
INVALID_DLC_NAME
The specified dlc_name did not match any defined DLC.
INVALID_PORT_TYPE
The port_type parameter was not set to a valid value.
INVALID_BTU_SIZE
The max_rcv_btu_size parameter was not set to a valid value.
INVALID_LS_ROLE
The ls_role parameter was not set to a valid value.
INVALID_LINK_ACTIVE_LIMIT
One of the activation limit parameters, inb_link_act_lim, out_link_act_lim, or tot_link_act_lim, was not set to a valid value.
INVALID_MAX_IFRM_RCVD
The max_ifrm_rcvd parameter was not set to a valid value.
INVALID_HPR_SUPPORTED
The implicit_hpr_support parameter was not set to a valid value.
INVALID_IMPLICIT_UPLINK
The implicit_uplink_to_en parameter was not set to a valid value.
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
Possible values are:
PORT_ACTIVE
The specified port cannot be modified because it is currently active.
DUPLICATE_PORT_NUMBER
A port with the number specified in the port_number parameter has already been defined.
209