![](/images/new-backgrounds/1308428/308428361x1.webp)
Administration Commands
define_sdlc_ls
PARAMETER_CHECK
secondary_rc
INVALID_DLC_NAME
The supplied dlc_name parameter contained a character that was not valid.
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:
DLC_ACTIVE
A parameter cannot be modified because the DLC is currently active.
INVALID_DLC_TYPE
You cannot change the negotiable link support for an existing DLC. This parameter can be specified only when creating a new DLC.
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.51 define_sdlc_ls
The define_sdlc_ls command is used to define a new SDLC link station (LS) or modify an existing one.
Before issuing this command, you must define the port that this LS uses.
You cannot use this command to modify the port used by an existing LS; the name of the port specified in the port_name parameter for this command must match the previous definition of the LS. The LS can be modified only if it is not started.
2.51.1 Supplied Parameters
Parameter name | Type | Length | Default |
[define_sdlc_ls] |
|
|
|
ls_name | character | 8 |
|
description | character | 31 | (null string) |
port_name | character | 8 |
|
adj_cp_name | character | 17 | (null string) |
adj_cp_type | constant |
| LEARN_NODE |
address | hex |
| 0xC1 |
auto_act_supp | constant |
| NO |
tg_number | decimal |
| 0 |
limited_resource | constant |
| NO |
solicit_sscp_sessions | constant |
| NO |
pu_name | character | 8 | (null string) |
disable_remote_act | constant |
| NO |
dspu_services | constant |
| NONE |
181