• No results found

If ho wrap line is entered, and the test line is full duplex, the side not selected in response to message ITB502 is used as the wrap line

In tests that use a wrap line and a test line, the wrap line is used

to send the test data and the test line is used to receive the test t data. This test allows selection of up to 30 bytes of optional data.

For BSC, two syn characters are added in front of the data specified.

For SDLC, the first two bytes should be a valid station address and a

valid command.

Operation of Tests

The following paragraphs describe how to enter the DEVICE field of the test message, and explain what happens in the different T3700LT tests.

T3700LTA: Since full duplex lines have only one symbolic name but are made up of two 3705 addresses, the internal wrap is run twice for each

full duplex line to be tested. The TX and RX symbols, used below, indicate the respective transmit and receive lines of a full duplex

pair. The symbols Wn and Tn indicate the wrap and test lines.

EXAMPLE A

Boston Richmond Atlanta

(TX) (RX)

pass 1 W1 T1

pass 2 V2 T2

pass 3 W3 T3

pass 4 T4 y4

In this example, Boston is used as the wrap line throughout the test because it is the first line entered in the test message. Each line,

is then selected as the test line. Both transmit and receive sides of full duplex are tested. When the last line entered has been tested, it is then used as the wrap line, and the first line that has not yet been tested is used as the test line.

EXAMPLE B

Richmond Boston

(TX)(RX) pass 1 W1 T1

pass 2 W2 T2

pass 3 T3 W3

The sequence in this example is the same as in example A. I^pte that

the transmit line side of Richmond is used throughout as the-wrap line, just as Boston was in example A. Up to sixteen symbolic names may be entered in the DEV field of the test request message.

T3700LTB: The sequence of testing is similar to that of T3700LTA.

Because T3700LTB tests modems, however, there is a difference. When a full duplex line is encountered by T3700LTB, the transmit side is always' used as the wrap line and the receive side is always used as

the test line.

EXAMPLE A

Atlanta Boston New York

pass 1 W1 T1

pass 2 W2 T2

In this example, Atlanta is used as the wrap line throughout the test

because it was the first line entered. Each line in turn is then selected as the test line. Note that Atlanta is not tested.

EXAMPLE B

Richmond Montreal New York

(TX)(RX) (TX)(RX) pass 1 W1 T1

pass 2 W2 T2

pass 3 W3 T3

This example illustrates that whenever a full duplex line is

encountered its transmit side is used as the wrap line. In T3700LTB up to sixteen symbolic line names may be entered in the test request

message.

T3700LTC, T3700LTD, T3700LTE, AND T3700LTF: These test sections require only one line at a time to run, therefore examples are

unnecessary. Enter the name of each line to be tested. Each line, in the order entered is tested. Up to sixteen line names may be entered.

ACF/NCP/VS Diagnosis Guide 4-63

T3700LT: The device entry for this test section differs from that of the other test sections. For this section only one or two line names may be entered in the test request message. The second line name entered is used as the wrap line.

LINE TEST

The line test feature allows you to address, poll, dial, and transmit to or receive from a terminal. Tests of lines, modems, and terminals can be accomplished without an active application program running in the host. A test is initiated by entering variables through the

control panel of the communication controller.

When to Use Line Test; Use the line test feature when you want to check lines, modems, and terminals to verify proper operation in your

network.

ACTIVATING AND DEACTIVATING THE LINE TEST

The line test is activated from the 3705 control panel. To start and

stop the line test function: ^

Place the control panel in NCP mode. For information on placing the control panel in NCP mode, see the Guide to Using the IBM

3705 Communications Controller Control Panel.

2. Set the DISPLAY/FUNCTION SELECT switch to function 2. This specifies the NCP line test function.

3. Set the address of the line of subchannel to be tested in ADDRESS/DATA switches B through E. The line test must be initialized before the test subroutines can be run. Only one line at a time may be selected. Subchannel addresses vary from

installation to installation. You should have access to a list of the subchannel addresses for your installation.

For NCP Lines: Switches B through E=X*2XXX'. (XXX=Line Address) For EP or PEP Lines: Switches B through E=X*2EXX*.

(XX=Subchannel Address)

4. Press INTERRUPT. If the line is available to be used by the test

function, DISPLAY A and DISPLAY B will contain all ones. If the

line is already in use, or if the address is invalid, DISPLAY A

and DISPLAY B will contain all zeros.

There is no way to distinguish between a line in use and an invalid line address. NCP continues to operate normally in either case. You can retry the line test by entering another

address.

5. Set ADDRESS/DATA switches B and C to the selected test. See the Guide to Using the IBM 3705 Communications Controller Control Panel for test options.

4

6. Set ADDRESS/DATA switches D and E to the input data byte, if required.

7. Press INTERRUPT.

8. If you want to run another test for this line, set

DISPLAY/FUNCTION SELECT switch to function 2 and repeat steps 5-7. Otherwise, go to step 9.

9. Set the DISPLAY/FUNCTION SELECT switch to function 2.

10. Set ADDRESS/DATA switches B and C to X*50'. This specifies the

end-test function.

11. Press INTERRUPT. This terminates the test function and places the line in a NO-OP state until NCP uses it.

Note 1: If a line is in use by the test function, it is not available to the system. If a line is in use by the system, it is not available to the test function. To ensure the availability of the line, always use X'50' to end all test functions.

Note 2: To run the NCP line trace and the line test together, start the line test procedure first.

SDLC LINK TEST. LEVEL 2

The link level 2 test allows you to test a station on a multipoint link while other stations on that link remain active. The link to the

physical unit (PU) you want to test must be active. However, the PU itself must be inactive. Test results are displayed at the host through messages.

ACF/NCP/VS Diagnosis Guide 4-65

STARTING THE LINK LEVEL 2 TEST

Start the link level 2 test from the host processor with the following

command:

VTAM Operation

1

1 Name

1 ■■"1

1 Operation

1

1

Operands |

1

11 (MODIFY) procname, j

1 (F )

11

11 LL2, 1

1

11 ll>=name j

1

11 [,CANCEL1CONT|NTRANS=10|m] |

1

11 [,DATA=datal |

1

1

1 1

[,NFRAMES=l|n] |

[_ 1

procname is the procedure for the command. The procedure name is different for each operating system:

• In VSE systems, the procedure name is NET.

• In 0S/VS2 MVS systems, the procedure name is the name of the procedure that was used to start ACF/VTAM.

• In OS/VSl systems, the procedure name must be in the form

procname.Pnn, where procname is the name of the procedure that was used to start ACF/VTAM and nn is a one or two digit number that indicates the partition in which ACF/VTAM is running.

LL2 indicates a request for a link level 2 test. LL2 is a positional parameter and must appear immediately after the procname operand.

name specifies:

For a test of a link between two NCPs, the name of a link station on the link that is to be tested. The specifed link station must be in the NCP that is to initiate the test. The link stations at each end of the link must both be inactive.

For a link between an NCP and a peripheral node, the name of a physical unit on the link that is to be tested. The specified physical unit must be inactive, but for a multi-point link, the other physical units on the link can be active during the test.

CANCELICONTINTRANS=10Im

CANCEL specifies that the currently running test should be

stopped.

CONT specifies that the test should run continuously until

canceled by the ACF/VTAM operator.

NTRANS=10Im indicates the number of test messages that are to

be sent. Specify any decimal number in the range 1 through 65534. (Specifying NTRANS=65534 is effectively the same as specifying CONT.) NTRANS=10 is the default.

data specifies optional user data to be used as part of the test message. Any EBCDIC alphabetic, numeric, or special characters (such as @ $) can be specified. The maximum number of characters permitted depends on the characteristics of the device at the receiving end of the test. If the DATA operand is omitted, ACF/VTAM sends test

messages without user data.

n specifies (for a multipoint line) the number of test messages that are to be sent to the physical unit each time its station is selected.

This option allows the test messages to be interleaved with other data going to other stations on a multipoint line. Specify any decimal in the range 1 through 65535. NFRAMES=1 is the default.

ACF/NCP/VS Diagnosis Guide 4-67

TCAM Operation

procname is the name of a cataloged procedure in SYSl.PROCLIB that

starts the TCAM message control program (MCP) to which you are issuing

this command.

id is the abbreviation for identifier.

procname.id was entered in the START TCAM command when ACF/TCAM was started; the same procname.id variable must be specified when used in

any subsequent TCAM command.

jobname is used only when ACF/TCAM is loaded and executed from the input stream (for example, a card reader).

puname is the symbolic name of the PU you wish to test.

n is the number of tests that you want performed for puname. Maximum

value is 65535; default is 10.

m represents how many times the test data is repeated for one PU on the link before testing is initiated for another PU on the same link.

Maximum value is 65535; default is 1.

^^st data is the data you are sending to the PU for testing. This data must be less than or equal to 243 bytes. If longer, the data is

truncated. If you omit the test data operand, the following data is

used:

ABCDEFGH1JKLMNOPQRSTUVWXYZ0123456789

ACF/VTAM 1/0 TRACE

The ACF/VTAM 1/0 trace records the order of 1/0 events that take place between the communication controller and ACF/VTAM. It occurs at the

path control level within the transmission subsystem, and can be used