The PROGRAMDUMP command prints the contents of stacks that have been dumped. The function of this command is to produce a listing similar to that of the PROGRAMDUMP command in ALGOL and other language compilers, and therefore is intended to be used with program dumps that were directed to disk. The content of the output is determined by the options specified at dump time and by the parameters of the PROGRAMDUMP command.
Syntax
┌◄───────────────────────┐ ── PROGRAMDUMP ─┴─┬────────────────────┬─┴─────────────────────────────┤ ├─ ALL ──────────────┤ ├─ ARRAY ────────────┤ ├─ ARRAYS ───────────┤ ├─ BASE ─────────────┤ ├─ CRITICALBLOCK ────┤ ├─ CODE ─────────────┤ ├─ DBS ──────────────┤ ├─ FILE ─────────────┤ ├─ FILES ────────────┤ ├─ LIBRARIES ────────┤ └─ PRIVATELIBRARIES ─┘
Explanation
The following text describes the meaning of each option
PROGRAMDUMP
Prints the stack for the dumping task.
PROGRAMDUMP ALL
Specifies all available options for the PROGRAMDUMP command.
PROGRAMDUMP ARRAY PROGRAMDUMP ARRAYS
Prints all arrays in selected stacks.
PROGRAMDUMP BASE
Analyzes and prints the base of the stack and the process information block (PIB) for all selected stacks.
PROGRAMDUMP CRITICALBLOCK
Specifies that the critical block for the stack is dumped if a program dump occurs. The stack is not dumped if it is a job stack. The stack is dumped from the top of the environment that contains the critical block, or from the base of the frozen environment of a library of the database stack, whichever is higher.
PROGRAMDUMP CODE
Prints the segment dictionary stack for the dumping task.
PROGRAMDUMP DBS
Prints all database stacks in the dump file.
PROGRAMDUMP FILE PROGRAMDUMP FILES
Analyzes and prints all file information blocks (FIBs) in the selected stacks. The buffers associated with each file are also printed. Note that this option does not print disk file headers. Use the HDR (Disk File Header) command to analyze disk file headers.
PROGRAMDUMP LIBRARIES
Prints all library stacks in the dump file.
PROGRAMDUMP PRIVATELIBRARIES
Prints all private library stacks in the dump file.