Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Run LPDA-2 (RUNLPDA) command allows you to run a Link Problem Determination Aid-2 (LPDA-2) operational command on local or remote data circuit-terminating equipment (DCE). The RUNLPDA command can be used to:
The result of the RUNLPDA command is returned as a message.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LINE | Line | Name | Required, Positional 1 |
OPTION | Option | *CALL, *DSC, *SETSPEED, *CONTSENSE, *CONTOPER | Required, Positional 2 |
LCLDCEADR | Local DCE address | 01-FB, *LCL | Optional |
RMTDCEADR | Remote DCE address | 01-FB, *NONE, *ANY | Optional |
TELNBR | Telephone number | Single values: *STORED Other values: Element list |
Optional |
Element 1: Number 1 | Character value | ||
Element 2: Number 2 | Character value | ||
CONTACT | Relay contact | *OPEN, *CLOSE | Optional |
SPEED | Transmit speed | *FULL, *BACKUP | Optional |
DTEPORT | DTE port | *ALL, A, B, C, D | Optional |
DCERTY | DCE retry | *NO, *YES | Optional |
Top |
Specifies the name of the nonswitched SDLC line that is attached to the analog DCE on which the LPDA-2 operational command is to be run. If *CALL is specified on the Option prompt (OPTION parameter), the line must be varied on but not active. If *CONTOPER, *CONTSENSE, *DSC, or *SETSPEED is specified on the OPTION parameter, the line must be either varied on or active.
This is a required parameter.
Top |
Specifies which LPDA-2 operational command is run.
This is a required parameter.
The contact operate, contact sense, and set transmit speed commands can be run on a local DCE or a remote DCE.
To run one of these commands on a local DCE:
To run one of these commands on a remote DCE:
Note: If the local DCE is configured as point-to-point secondary or multipoint tributary, LPDA-2 commands are not sent to the remote DCE.
The possible values are:
Note: The set transmit speed command may not change the transmit speed, depending on the configuration options selected for the DCE. Refer to the DCE documentation for more information.
Top |
Specifies the hexadecimal address of the local DCE. Refer to the DCE documentation for more information on addressing.
The possible values are:
Top |
Specifies the hexadecimal address of the remote DCE on which the LPDA-2 operational command is to be run.
The possible values are:
Top |
Specifies the telephone number or telephone numbers that the local DCE dials to establish a connection to the remote DCE. This parameter is valid only if *CALL is specified on the Option prompt (OPTION parameter).
The possible values are:
Top |
Specifies whether to open or close the relay contact in a two-wire coupler. This parameter is required if *CONTOPER is specified on the Option prompt (OPTION parameter).
The possible values are:
Top |
Specifies desired transmit speed of the DCE. This parameter is required if *SETSPEED is specified on the Option prompt (OPTION parameter).
The possible values are:
Top |
Specifies the DTE port on the local or remote DCE for which the transmit speed is changed. This parameter is valid only if *SETSPEED is specified on the Option prompt (OPTION parameter) and is applicable only to multiple port DCEs that do not use the multiple address configuration option.
The possible values are:
Top |
Specifies whether the local DCE resends the LPDA-2 command to the remote DCE if no response is received from the remote DCE. No retry can be attempted if *CALL or *DSC is specified on the Option prompt (OPTION parameter).
The possible values are:
Top |
Example 1: Establishing a Switched Telephone Network Connection
RUNLPDA LINE(SDLCLINE) OPTION(*CALL) LCLDCEADR(*LCL) RMTDCEADR(*NONE) TELNBR(*STORED)
This command runs the call out command. The local DCE with address X'01' (*LCL) on line SDLCLINE dials the telephone numbers that are stored in the local DCE.
Example 2: Establishing a Switched Telephone Network Connection
RUNLPDA LINE(SDLCLINE) OPTION(*CALL) LCLDCEADR(*LCL) RMTDCEADR(*NONE) TELNBR('9, 1-507-555-1212' '9, 1 (507) 555-1313')
This command runs the call out command. The local DCE dials the two numbers specified on the TELNBR parameter. The comma (,) indicates a pause during dialing. Other non-numeric characters are ignored, but are allowed for easier reading.
Example 3: Disconnecting a Switched Telephone Network Connection
RUNLPDA LINE(SDLCLINE) OPTION(*DSC) LCLDCEADR(10) RMTDCEADR(*ANY)
This command runs the disconnect command. The local DCE with address X'10' disconnects from the switched telephone network.
Example 4: Closing the Relay Contact in the Local DCE
RUNLPDA LINE(SDLCLINE) OPTION(*CONTOPER) LCLDCEADR(02) RMTDCEADR(*NONE) CONTACT(*CLOSE)
This command runs the contact operate command. The local DCE with address X'02' closes the relay contact in its two-wire coupler.
Example 5: Reporting the Status of the Relay Contact
RUNLPDA LINE(SDLCLINE) OPTION(*CONTSENSE) LCLDCEADR(01) RMTDCEADR(04)
This command runs the contact sense command. A message reports the status of the relay contact in the remote DCE with address X'04'. (The correct local DCE address must be specified on the LCLDCEADR parameter.)
Example 6: Changing the Transmit Speed
RUNLPDA LINE(SDLCLINE) OPTION(*SETSPEED) LCLDCEADR(05) RMTDCEADR(*NONE) SPEED(*BACKUP) DTEPORT(B)
This command runs the set transmit speed command. The transmit speed for Port B of the local DCE with address X'05' is changed to backup speed.
Top |
*ESCAPE Messages
Top |