The PIB command prints the contents of a process information block (PIB), which is a task variable associated with a process stack. If a word within the PIB is specified, only that word is printed. For more information about tasks, refer to the TAB (Task Attribute Block) command.
Syntax
── PIB ─┬─<number>───────────────┬─┬─────────────────┬─────────────────┤ ├─ AT ──<simple address>─┤ ├─<PIB cell name>─┤ └─ VIA ──<ASD number>────┘ └─ # ──<offset>───┘
Explanation
The following text describes the meaning of each construct. Refer to “Basic Constructs” earlier in this section for information about the <simple address>, VIA <ASD number>, and <offset> constructs.
PIB <number>
Prints the PIB associated with the stack specified by the number.
PIB AT <simple address>
Prints the PIB located at memory address specified by the simple address.
PIB VIA <ASD number>
Prints the PIB located at the ASD number.
<PIB cell name> # <offset>
Prints only the specified word within the PIB.
Example
The following shows an example of the first page of the response to the PIB command.
INPUT: PIB 15 SPIBVECTOR[00015] = C 800000 000857 00 3 001200 080000 PIBENVW ENVW: Offset=0008 (0008+0000) in MCP Stack 01 3 80376C 000000 PIBSCHEDENVW ENVW: Offset=0000 (0000+0000) in Segment 000376C (DOPEOREVENTAREA) 02-03 0 000000 000000 PIBPTHRENVW CODEHEADERS 04 0 000000 000012 CODELINKS SEG DICT = 00012 05 0 000000 000000 COMPILERINFO 06 0 050000 000000 COMPILERINFO1 07 0 000000 000000 MISCINFO 08 0 001500 000000 WSJUDGELOCK 09 0 000000 042DD0 COREINTEGRAL = 273872 0A 0 000000 0004B6 COREINUSE = 1206 0B 0 000000 0004B6 COREINUSESAVED = 1206 0C 0 000000 0004B6 MAXSAVEMEMORYUSED = 1206 0D 0 000000 000000 ASDSINUSE 0E 0 000000 000002 MAXASDSINUSE = 2 0F-10 0 000000 000000 GRANULATEDPRIV GRANULATEDTRANS 11-12 0 000000 000000 GRAPHHEADWORD SEARCHINFO 13-14 0 000000 000000 DYNCODEINFO D1TIMESTARTED 15-16 0 000000 000000 RUNNINGCOUNT RESIZECOUNT 17 7 211562 20045E WS_PALACE PCW: ASD=00022F1, LL=2, Control State, MCP Segment @ 1009:008AB:0 (05374090) INSTACKARRAYDEC 18 1 8042BC 000017 WS_PALACEREF SIRW: Offset=0017 (0000+0017) in Segment 00042BC (PIBMARK) 19-1A 0 000000 000000 D1GWHPDIRDESC D1GWHPDIRINFO 1B-1C 0 000000 000000 D1SIDECARS DBSINFO 1D 0 000000 000000 YOURNAME 1E 0 000001 500000 BDINFO 1F-20 0 000000 000000 BDNUMBER BLOCK 21-22 0 000000 000000 ALARMLINKS ALARMTHYME 23-24 0 000000 000000 ALARMTIMES ASSUMEIOTIME 25-26 0 000000 000000 ASSUMEPROCESSTIME ASSUMEEFFECPROCTIM 27-28 0 000000 000000 ASSUMENORMPROCTIMEASSUMEREADYQTIME 29-2A 0 000000 000000 ASYNCRESULT AXEVENT 2B 0 000000 000000 (AXEVENT2) 2C 0 B7E707 DB444B BOTTIMESTAMP = Mon, Mar 20, 2017 01:24:21 2D-2E 0 000000 000000 CLDIRECTORY CPINFO 2F-30 0 000000 000000 DBUNIQUEID DCIWAITREF 31-32 0 000000 000000 DCKEYPIBINFO DLLINFO