Standard heading fields for audit journal entries QJORDJE5 Record Format (*TYPE5)

This table lists all possible values for the fields that are common to all entry types when OUTFILFMT(*TYPE5) is specified on the DSPJRN command.

Table 1. Standard heading fields for audit journal entries. QJORDJE5 Record Format (*TYPE5)
Offset Field Format Description
1 Length of Entry Zoned(5,0) Total length of the journal entry including the entry length field.
6 Sequence Number Char(20) Applied to each journal entry. Initially set to 1 for each new or restored journal. Optionally, reset to 1 when a new receiver is attached.
26 Journal Code Char(1) Always T.
27 Entry Type Char(2) See Audit Journal (QAUDJRN) entry types for a list of entry types and descriptions.
29 Timestamp of Entry Char(26) Date and time that the entry was made in SAA timestamp format.
55 Name of Job Char(10) The name of the job that caused the entry to be generated.2
65 User Name Char(10) The user profile name associated with the job.1,2
75 Job Number Zoned(6,0) The job number.2
81 Program Name Char(10) The name of the program that made the journal entry. This can also be the name of a service program or the partial name of a class file used in a compiled Java™ program. If an application program or CL program did not cause the entry, the field contains the name of a system-supplied program such as QCMD. The field has the value *NONE if one of the following conditions is true:
  • The program name does not apply to this entry type.
  • The program name was not available.
91 Program library Char(10) Name of the library that contains the program that added the journal entry.
101 Program ASP device Char(10) Name of ASP device that contains the program that added the journal entry.
111 Program ASP number Zoned(5,0) Number of the ASP that contains the program that added the journal entry.
116 Name of object Char(10) Used for journaled objects. Not used for audit journal entries.
126 Objects Library Char(10) Used for journaled objects. Not used for audit journal entries.
136 Member Name Char(10) Used for journaled objects. Not used for audit journal entries.
146 Count/RRN Char(20) Used for journaled objects. Not used for audit journal entries.
166 Flag Char(1) Used for journaled objects. Not used for audit journal entries.
167 Commit Cycle identifier Char(20) Used for journaled objects. Not used for audit journal entries.
187 User Profile Char(10) The name of the current user profile1.
197 System Name Char(8) The name of the system.
205 Journal identifier Char(10) Used for journaled objects. Not used for audit journal entries.
215 Referential Constraint Char(1) Used for journaled objects. Not used for audit journal entries.
216 Trigger Char(1) Used for journaled objects. Not used for audit journal entries.
217 Incomplete Data Char(1) Used for journaled objects. Not used for audit journal entries.
218 Ignored by APY/ RMVJRNCHG Char(1) Used for journaled objects. Not used for audit journal entries.
219 Minimized ESD Char(1) Used for journaled objects. Not used for audit journal entries.
220 Object indicator Char(1) Used for journaled objects. Not used for audit journal entries.
221 System sequence Char(20) A number assigned by the system to each journal entry.
241 Receiver Char(10) The name of the receiver holding the journal entry.
251 Receiver library Char(10) The name of the library containing the receiver that holds the journal entry.
261 Receiver ASP device Char(10) Name of ASP device that contains the receiver.
271 Receiver ASP number Zoned(5,0) Number of the ASP that contains the receiver that holds the journal entry.
276 Arm number Zoned(5,0) The number of the disk arm that contains the journal entry.
281 Thread identifier Hex(8) Identifies the thread within the process that added the journal entry.
289 Thread identifier hex Char(16) Displayable hex version of the thread identifier.
305 Address family Char(1) The format of the remote address for this journal entry.
306 Remote port Zoned(5,0) The port number of the remote address associated with the journal entry.
311 Remote address Char(46) The remote address associated with the journal entry.
357 Logical unit of work Char(39) Used for journaled objects. Not used for audit journal entries.
396 Transaction ID Char(140) Used for journaled objects. Not used for audit journal entries.
536 Reserved Char(20) Used for journaled objects. Not used for audit journal entries.
556 Null value indicators Char(50) Used for journaled objects. Not used for audit journal entries.
606 Entry specific data length Binary(5) Length of the entry specific data.
1
The three fields beginning at offset 55 make up the system job name. In most cases, the User name field at offset 65 and the User profile name field at offset 187 have the same value. For prestarted jobs, the User profile name field contains the name of the user starting the transaction. For some jobs, both these fields contain QSYS as the user name. The User profile name field in the entry-specific data contains the actual user who caused the entry. If an API is used to exchange user profiles, the User profile name field contains the name of the new (swapped) user profile.
2
If the system job is running in a task rather than a process, the name of job and user name fields that begin at offset 55 contain up to a 16 character name for the LIC task. The remaining characters of the user name field that start at offset 71 are left blank. The job number field that begins at offset 75 is set to zeros.