Verify Link supporting LPDA-2 (VFYLNKLPDA)

The Verify Link Supporting LPDA-2 (VFYLNKLPDA) command allows you to run any of the LPDA-2 tests and to receive the results in a format you specify.

Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, or QSRVBAS user profiles have private authorities to use the command.

Parameters

Keyword Description Choices Notes
LINE Line Name Required, Positional 1
TEST Test *DCELINSTS, *DCELINTST, *ANZLIN, *SNDRCV Optional
LCLDCEADR Local DCE address 01-FB, *LCL Optional
RMTDCEADR Remote DCE address 01-FB, *ANY Optional
OUTPUT Output *, *PRINT Optional
SEQCOUNT Number of sequences 1-3, 1 Optional
DTEPORT Remote DTE port A, B, C, D Optional
DTERTY DTE retry *NO, *YES Optional
DCERTY DCE retry *NO, *YES Optional
VRYLNKSTS Link status after test *SAME, *ON, *OFF Optional

Line (LINE)

Specifies the name of the line (nonswitched *SDLC) on the link to be tested.

This is a required parameter.

Test (TEST)

Specifies which of the four tests is to be run.

The possible values are:

*DCELINSTS
Line status of the data circuit-terminating equipment (DCE) is returned.
*DCELINTST
Line testing of the data circuit-terminating equipment (DCE) is done.
*ANZLIN
The analyze line test is done. This test is for analog lines only.
*SNDRCV
The send/receive test is done.

Local DCE address (LCLDCEADR)

Specifies the local data circuit-terminating equipment (DCE) address. By convention, bits 4-7 of this byte indicate the Link Segment Level (LSL) of the local DCE and remote DCE. Bits 0-3 are used to uniquely identify a local DCE among several on the same LSL. The address is set in the local DCE during configuration and should follow this convention.

Note: X'00' is not a valid address for a local DCE.

The possible values are:

*LCL
X'01', the address for the local DCE on LSL 1, is used.
local-DCE-address
Specify the local DCE address. Valid values range from X'01' through X'FB'.

Remote DCE address (RMTDCEADR)

Specifies the remote data circuit-terminating equipment (DCE) address.

This parameter must be specified if you are testing a multipoint link.

The possible values are:

*ANY
X'FD', the global remote DCE address is used. If the remote DCE is not idle, it will respond regardless of its previously configured address.

Note: Multipoint tributary DCEs will not respond to an address of *ANY.

remote-DCE-address
Specify the remote DCE address. Valid values range from X'01' through X'FB'.

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

The possible values are:

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.

Number of sequences (SEQCOUNT)

Specifies the number of sequences to transmit for the send/receive test. A sequence is a group of 16 blocks, with the block length dependent on the configuration of the DCE.

The possible values are:

1
1 sequence is sent during the test.
number-of-sequences
Specify the number of sequences to send. Valid values range from 1 through 3.

Remote DTE port (DTEPORT)

Specifies the data terminal equipment (DTE) port of the remote DCE for which status will be returned. This parameter is valid only when working with line status and line testing of DCEs. This parameter is meaningful only for multiple port DCEs.

The possible values are:

A
Status will be returned for the A-port.
B
Status will be returned for the B-port.
C
Status will be returned for the C-port.
D
Status will be returned for the D-port.

DTE retry (DTERTY)

Specifies that this command is a retry of a link operation from the system DTE to the local DCE due to a bad response or no response received from the local DCE.

The possible values are:

*NO
This command is not a retry.
*YES
This command is a retry.

DCE retry (DCERTY)

Specifies whether the local DCE should retry the command to the remote DCE if a bad response or no response is received from the remote DCE.

The possible values are:

*NO
The local DCE should not retry the command.
*YES
The local DCE should retry the command.

Link status after test (VRYLNKSTS)

Specifies the desired status of the link (varied on or varied off) after the test completes.

Note: After running a test on a manually switched link, the link should in most cases be left varied on to allow further information to be received on the same connection. If the switched link is varied off, the failing connection will be lost and no further analysis can be done.

The possible values are:

*SAME
The specified link is returned to the status it was in immediately prior to testing.
*ON
The link remains varied on.
*OFF
The link is varied off.

Examples

Example 1: Checking Line Status

VFYLNKLPDA   LINE(LINE1)  DTEPORT(B)

This command retrieves the DCE line status from synchronous data link control (SDLC) line, LINE1, and displays the status. The remote DCEs DTE line connection status of port B is returned if the user is verifying a multiport DCE. An error message will be returned if the remote DTE has only a single port, for example, port A. The default VRYLNKSTS(*SAME) causes the line named LINE1 to return to the status prior to the test.

Example 2: Analyzing a Line

VFYLNKLPDA   LINE(LINE2)  TEST(*ANZLIN)  OUTPUT(*PRINT)
             LCLDCEADR(02)  VRYLNKSTS(*ON)

This command analyzes the SDLC line, LINE2. The second LSL is used; the lower four bits of the local DCE address (LCLDCEADR) are 2. The results are sent to a spooled file. After the test, LINE2 remains varied on to allow for more testing.

Example 3: Testing Sending and Receiving Capabilities

VFYLNKLPDA   LINE(LINE3)  TEST(*SNDRCV)  SEQCOUNT(3)
             RMTDCEADR(21)  DCERTY(*YES)

This command tests the sending and receiving capabilities on the multipoint line, LINE3. Three sequences of 16 blocks are sent between the local (control) DCE and the remote (tributary) DCE with the address of X'21'. If the local DCE fails to receive a response on the first attempt, the local DCE will retry this command to the remote DCE.

Error messages

*ESCAPE Messages

CPF1BAF
Error occurred while processing VFYLNKLPDA command.
CPF1BA9
Line &1 vary off failed.
CPF1BCC
Test cannot be run at this time.
CPF1BCD
DCE self test failed.
CPF1BCE
Sense byte returned is not valid.
CPF1BC1
Error detected while processing VFYLNKLPDA command.
CPF1BC3
Test cannot run in switched network backup mode.
CPF1BC4
Requested test is not supported.
CPF1BC5
Required feature not installed.
CPF1BC6
Required feature not operational.
CPF1BC7
Test is not compatible with DCE configuration.
CPF1BC8
DTEPORT parameter cannot be specified.
CPF1BD1
Line description &1 is not *SDLC.
CPF1BD2
System Service Tools is active.
CPF1BD4
Not authorized to line description &1.
CPF1BD7
VFYLNKLPDA command does not support switched lines.
CPF1B8A
Line &1 failed during test.
CPF1B8B
No response received for test request.
CPF1B8C
Test cannot be run on line &1.
CPF1B8D
Error occurred while processing VFYLNKLPDA command.
CPF1B8E
Test cannot be run at this time.
CPF1B8F
Test request failed. Test already active on line.
CPF1B80
Line description &1 does not exist.
CPF1B81
Error occurred while getting configuration information.
CPF1B83
Line &1 is not in proper state for test.
CPF1B89
Test cannot be run on line &1.
CPF1B9F
Line &1 cannot be varied off at this time.
CPF1B93
Line &1 did not vary on.