The PV or PRINTVAL command displays the specified simple value or the specified word in the current stack window in several possible forms.
Syntax
──┬─ PV ───────┬─┬─<simple value>───────┬─<mode option>───────────────────────┤ └─ PRINTVAL ─┘ └─ SW ─┬───────────────┤ └─ # ──<offset>─┘
<mode option>
┌◄───────────────────┐ ──┴─┬────────────────┬─┴───────────────────────────────────────────────┤ ├─ ASC ── ARRAY ─┤ ├─ DESC ─────────┤ ├─ EBC ── ARRAY ─┤ ├─ IRW ──────────┤ ├─<MODE>─────────┤ ├─ MODE ─────────┤ ├─ RCW ──────────┤ ├─ TIME6 ────────┤ ├─ TIME11 ───────┤ ├─ TIME14 ───────┤ ├─ SB ───────────┤ ├─ UNCompressed ─┤ └────────────────┘
Explanation
The following text describes the meaning of each construct. Refer to “Basic Constructs” earlier in this section for information about the <simple value> and <offset> constructs.
PV <simple value>
Displays the specified simple value in hexadecimal format.
PV SW PV SW # <offset>
Expands the word that the current stackwindow centers around or the word in the current stackwindow with the specified offset. You can use this syntax only if you previously entered the STACKWINDOW (Stack Window) command.
PV <simple value> <mode> PV SW <mode>
Mode Descriptions describes the various modes.
Table 15. Mode Descriptions
Specify . . . |
To analyze the specified word as if it were . . . |
---|---|
ASC ARRAY |
An array. The array is displayed in both hexadecimal and ASCII formats. |
DESC |
A data descriptor. This analysis is useful for determining the ASD number that is located in field [19:23] of the specified descriptor word on gamma systems and in field [19:20] on beta systems. |
EBC ARRAY |
An array. The array is displayed in both hexadecimal and EBCDIC formats. |
IRW |
Either an IRW or an SIRW, as appropriate. |
<MODE> |
Using the selected mode option, for example, a file information block (FIB). Refer to Mode Option Descriptions. |
MODE |
Using the mode option that is currently set, such as FIB. Refer to the description of MODE following this table. |
RCW |
A return control word (RCW). |
TIME6 |
A TIME(6) format word. This word has the following format: 0 & (JULIANDATE-70000) [47:16] & (TIME(11) DIV 16) [31:32] |
TIME11 |
A TIME(11) format word. This word stores the time of day, expressed in multiples of 2.4 microseconds. |
TIME14 |
A TIME(14) format word. This word stores the time elapsed since the last halt/load in multiples of 2.4 microseconds. DUMPANALYZER appends the following message to the analysis: SINCE LAST HALT/LOAD |
UNCompressed |
Applies to array printing only and causes the array contents to be printed in full. |
PV <simple value> MODE
Displays the specified word in the modes that are currently set. (Refer to the MODE command earlier in this section.)
In the FIB mode, the simple value is expanded as a FIB. The simple value must be a present descriptor. If the length field is incorrect, a warning message indicating that the value is probably not a FIB is displayed.
In the IOCB mode, the IOCB word in the base of the stack and any descriptor can be analyzed as an IOCB.
If the MCP option READLOCK is set, the LOCK mode shows each hard lock with the sequence number and procedure name.
In the construct “PV M[a]...”, if M[a] and M[a + 1] are both Tag-2 words, they are analyzed together as a double operand. This construct is effective in DEC, OCT, EBC, or LOCK modes.
Examples
The following examples show the output from the RCW mode of the PV command:
INPUT: PV 00081DF8501E RCW 0 00081D F8501E RCW @ 101E:01DF:4 (12632400) MULTIWAIT INPUT: PV 80000020323D & 5 TAG EBC ARRAY 5 800000 20323D 0(0000) 0 C1C2C3 C4C5C6 0 C7C8C9 D1D2D3 ABCDEF GHIJKL