gtpo1mbzOperations

ZNSCB-Display Session Control Block

Use this command to display the specified TPF Advanced Program-to-Program Communications (TPF/APPC) session control block (SCB).

Requirements and Restrictions

You can enter this command only in 1052 state or higher.

Format




DF
produces a formatted display of the specified SCB. If you omit this parameter, the display is not formatted.

SCB-scbid
is the session control block (SCB) ID of the LU-LU session that you want to display. The session control block identifier (SCBID) is in the format of the 3-byte resource identifier (RID).

Sum
displays the number of active and inactive SCBs.

Additional Information

Online help information is available for this command. To display the help information, enter one of the following:

ZNSCB HELP

ZNSCB ?

Examples

A formatted display of the SCB data is produced in the following example, where:

 SCBID 
is the session control block ID.

 FORWARD CHAIN 
is the SCB forward chain.

 MODE 
is the TPF/APPC mode name.

 PCID 
is the procedure correlation ID.

 RVTADR 
is the resource vector table address of the owning (remote) RVT.

 OWNING RID 
is the resource identifier (RID) of the owning (remote) RVT.

 PARTNER LU 
is the partner (local) LU name.

 PARTNER RID 
is the hexadecimal RID of the partner LU.

 CCBID 
is the conversation control block ID.

 CCBADR 
is the address of the CCB.
+--------------------------------------------------------------------------------+
|User:   ZNSCB DF SCB-800002                                                     |
|                                                                                |
|System: NSCB0001I 17.33.24 SCB CONTENTS FORMATTED                               |
|        SCBID    800002              FORWARD CHAIN  00000000                    |
|        MODE     TPFMOD1                                                        |
|        PCID          .        .0A0A688B50800002                                |
|        RVTADR   025D5800            OWNING RID   000040                        |
|        PARTNER LU         .APPA     PARTNER RID  00003F                        |
|        CCBID    00000119            CCBADR       026BC2BC                      |
|        SESSION IN BRACKET STATE    YES   LOCAL IS FIRST SPEAKER    NO          |
|        BEGIN BRACKET PENDING       NO    BID REJ (0814 SENT/RECV)  NO          |
|        CHANGE DIRECTION SENT       NO    RQD2 RESP PENDING TO REM  NO          |
|        RQD1 RESP PENDING           NO    RQD2 RESP PENDING         NO          |
|        DATA PURGE IN PROGRESS      NO    SEQ. NUMBER WRAP PENDING  NO          |
|        LOCAL IN SEND STATE         YES                                         |
+--------------------------------------------------------------------------------+

In the following example, an unformatted display of the SCB data is produced.

+--------------------------------------------------------------------------------+
|User:   ZNSCB SCB-800002                                                        |
|                                                                                |
|System: NSCB0002I 17.34.20 SCB CONTENTS                                         |
|        SCB1     SCBID-800002                                                   |
|         026C00F4- 40404040 40404040 C1D7D7C3 40404040          APPC            |
|         026C0104- 00000000 C0000000 0A0A688B 50800002 ........ ........        |
|         026C0114- 48140872 00160008 10F80000 00000002 ........ .8......        |
|         026C0124- 0B0BA700 00003F00 003F0000 00000B00 ..x..... ........        |
|         026C0134- 00000000 00000000 80000000 00000119 ........ ........        |
|         026C0144- 00000000 000A007C 00800002 00000000 .......@ ........        |
|         026C0164- 40404040 40404040 40404040 40404040                          |
|         026C0174- 40404040 40404040 40404040 40404040                          |
|         026C0194- 00000000 026C0014 E3D7C6D4 D6C4F140 ........ TPFMOD1         |
|         026C01A4- 00050003 00020000 00010000 00000002 ........ ........        |
|         026C01C4- 00160000 00400000 00000000 00000000 ..... .. ........        |
|        SCB2                                                                    |
|         026CE020- 00000000 00000000 00000000 80100000 ........ ........        |
|         026CE030- 0000003F 00000000 00000000 00000000 ........ ........        |
|        END OF DISPLAY - ZEROED LINES NOT DISPLAYED                             |
+--------------------------------------------------------------------------------+

The number of active and inactive SCBs is displayed in the following example.

+--------------------------------------------------------------------------------+
|User:   ZNSCB SUM                                                               |
|                                                                                |
|System: NSCB0003I 17.27.58 SCB SUMMARY INFORMATION                              |
|        NUMBER OF ACTIVE SCBS              2                                    |
|        NUMBER OF INACTIVE SCBS          248                                    |
|        TOTAL NUMBER OF SCBS             250                                    |
+--------------------------------------------------------------------------------+

Related Information

See TPF ACF/SNA Data Communications Reference for more information about SNA communications.