The SUBPORT command prints an analysis of a subport, which could be one of a group of subports belonging to a port file.
Use the following procedure to locate all the subports in a dump file for use in the SUBPORT command. Or, use the PORT ALL command.
Step |
Action |
---|---|
1 |
Establish a pattern of E2E4C2D70000 & 0 TAG with the PATTERN command. |
2 |
Establish a mask of FFFFFFFF0000 & F TAG with the MASK command. |
3 |
Create a list of a list of absolute memory addresses of subport structures with the SEARCH command. |
4 |
Use these addresses in subsequent SUBPORT AT <address> commands. |
Syntax
── SUBPORT ─┬─<index>─┬──────┬─┬────────┬─<port index>─┬─┬───────────┬─┤ │ └─ OF ─┘ └─ PORT ─┘ │ ├─ EXPAND ──┤ ├─ AT ──<absolute address>─────────────────┤ ├─ TERSE ───┤ ├─ VIA ──<ASD number>──────────────────────┤ └─ ONELINE ─┘ ├─ DIALOGID ─┬─<dialog id>─────────────────┘ └─ DID ──────┘
Explanation
The following text describes the meaning of each construct. Refer to “Basic Constructs” earlier in this section for information about the <absolute address> and VIA <ASD number> constructs.
SUBPORT <index> <port index> SUBPORT <index> OF <port index> SUBPORT <index> PORT <port index> SUBPORT <index> OF PORT <port index>
Analyzes the subport with the specified index within the port specified by the port index. The port index is found in the LIBRARYINFO word of the file information block (FIB).
SUBPORT AT <absolute address>
Analyzes the subport at the specified absolute memory address in the TERSE format.
SUBPORT VIA <ASD number>
Analyzes the subport at the specified ASD number in the TERSE format.
SUBPORT DIALOGID <dialog id> SUBPORT DID <dialog id>
Analyzes the subport referred to by the dialog ID in the TERSE format. A dialog ID is a format used by network providers, which combines the port and subport indices into a single word.
SUBPORT AT <absolute address> ONELINE
Analyzes the subport at the specified ASD number in the ONELINE format. This format outputs the most useful subport attributes in one line of output.
SUBPORT VIA <ASD number> TERSE
Analyzes the subport at the specified ASD number in the TERSE format. The TERSE format is the same as ONELINE, but also includes the matching attributes that are relevant to the SERVICE attribute of the subport port.
SUBPORT DIALOGID <dialog id> EXPAND
Analyzes the subport referred to by the dialog ID in the EXPAND format. This format outputs the complete subport structure.
Example
The following shows an example of the first page of output for the SUBPORT command:
INPUT: SUBPORT 0 OF PORT 5 SUBPORT ATTRIBUTE BLOCK DESCRIPTOR: 5 800001 F02667 00(00) 0 E2E4C2 D70000 MYSUBPORTADDRESS =0(0) 01(01) 0 000000 000500 INTERFACE MODEL =0(0) PORTID =5(5) LOCALTRANSATT =0(0) SUBPORTWASCLOSEDATT =0(0) DISCONNECTING =FALSE 02(02) 0 00013F 000780 PORTINBOUNDSTATE = 'NOT READY' PORTOUTBOUNDSTATE = 'NOT READY' SUBPORTOUTBOUNDSTATE = 'NOT READY' SUBPORTINUSE =FALSE SUBPORTDATAWASLOST =FALSE SUBPORT IS READABLE =FALSE BNAV2 CLEANUP KLUDGE =FALSE LOGREC PORTINFO SETUP =FALSE SUBPORTSTATE =SUBPORT STATE(1)=CLOSED MAXCENSUS =63(3F) MAXRECSIZE =1920(780) 03(03) 0 000000 000000 MAXBLOCKEDTIMEOUT =0(0) DIALOGCHECKINT =0(0) RESUMEREADY =0(0) DIALOGPROTOCOLTYPEATT =0(0) 04(04) 0 000000 000000 ICPCOMPRESS =FALSE ICPCANCOMPRESS =FALSE COMPRESSIONREQUEST =FALSE COMPRESSIONCONTROL =FALSE COMPRESSIONUSEFULATT =FALSE TRANSLATINGATT =FALSE 05(05) 0 000000 B80000 PASSIVEOPEN =FALSE OPENAVAILABLE =FALSE DONOTSEARCHNETWORK =FALSE YOURUSERCODEUNSPECIFIED=TRUE YOURHOSTUNSPECIFIED =FALSE YOURHOSTNULL =TRUE YOURHOSTGROUPNUL =TRUE YOURNAMENULL =TRUE SB_COLLECT_ERROR =FALSE RSVP DISPLAY CHANGES =FALSE IN SECONDARY QUEUE =FALSE ACTUALCHARACTERSET =0(0) SUBPORTERROR =SUBPORT ERROR(0)=NO ERROR
06(06) 0 000000 E00000 SPREASONCODE =0(0) DIALOGPRIORITY =0(0) REQUESTEDDIALOGPRIORITY=0(0) DIALOGPRIORITYLIMIT =7(7) MINORSTATE =MINORSTATE (0)=CLOSED0 SUBPORT IS WRITEABLE =FALSE SECONDARY IN PROGRESS =FALSE RESPONSE TYPE =0(0) DIALOGUTILIZATION =0(0)