CD (Command String) journal entries

This table provides the format of the CD (Command String) journal entries.

Start of changeInformation from this audit journal entry can be queried with the SYSTOOLS.AUDIT_JOURNAL_CD table function: AUDIT_JOURNAL_CDEnd of change

Table 1. CD (Command String) journal entries. QASYCDJE/J4/J5 Field Description File
Offset Field Format Description
JE J4 J5
1 1 1     Heading fields common to all entry types. See Standard heading fields for audit journal entries QJORDJE5 Record Format (*TYPE5),Standard heading fields for audit journal entries QJORDJE4 Record Format (*TYPE4), and Standard heading fields for audit journal entries QJORDJE2 Record Format (*TYPE2) for field listing.
156 224 610 Entry Type Char(1) The type of entry.
C
Command run
L
OCL statement
O
Operator control command
P
S/36 procedure
S
Command run after command substitution took place
U
Utility control statement
X
Proxy command
157 225 611 Object Name Char(10) The name of the object.
167 235 621 Library Name Char(10) The name of the library where the object is stored.
177 245 631 Object Type Char(8) The type of object.
185 253 639 Where run Char(1) Where the CL command was run.
Y
From a compiled OPM CL program or an ILE CL Program
R
From a REXX procedure
E
The command string was passed as a parameter to one of the Command Analyzer APIs: QCMDEXC, QCAPCMD, or QCAEXEC
B
In a batch job but not for any of the reason listed under Y, R, or E. Typical case would be that the CL command was run using STRDBRDR or SBMDBJOB command or was specified on the CMD parameter of the SBMJOB command.
N
Interactively from a command line or by choosing a menu option that runs a CL command
186 254 640 Command String Char(6000) The command that was run, with parameters.
    6640 ASP Name for Command Library Char(10) ASP name for command library
    6650 ASP Number for Command Library Char(5) ASP number for command library