CL Command Reference - DMPSYSOBJ
CL Command List > DMPSYSOBJ Reference
Description:
The Dump System Object (DMPSYSOBJ) command is used primarily for various problem analysis tasks. It dumps the contents or attributes of machine interface (MI) system objects to a spooled printer file named QPSRVDMP. Any MI object that is stored in any context or that is addressable through an object stored in a context can be dumped.
Restrictions:
. To use this command, you must be signed on as QPGMR, QSYSOPR, QSRV, or QSRVBAS, or have all object (*ALLOBJ) special authority.
Examples:
Example 1: Dumping Indexes
DMPSYSOBJ CONTEXT(QTEMP) TYPE(0E)
This command dumps the contents and attributes of all the indexes in the temporary job context to a spooled file for printing. MI indexes are identified by the type code 0E.
Example 2: Dumping a Device Description
DMPSYSOBJ OBJ(WS1) CONTEXT(*MCHCTX) OBJTYPE(*DEVD)
This command dumps the device description for work station WS1, which is stored in the machine context.
Example 3: Dumping Process Control Space
DMPSYSOBJ OBJ(*PCS) SPACE(0 2A0)
This command dumps the work control block from the space associated with the process control space for the job.
Example 4: Specifying Offset Values
DMPSYSOBJ OBJ(*PCS) OFFSET(60 E0 10 10) SPACE(0 20)
This command dumps the second call entry of the process automatic storage area (offset 60 E0) for a length of 32 bytes (SPACE(0 20)). If the third call level is dumped, OFFSET(60 E0 10 10 10) is specified.