EV (Environment Variable) journal entries

This table provides the format of the EV (Environment Variable) journal entries.

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

Table 1. EV (Environment Variable) journal entries. QASYEVJ4/J5 Field Description File
Offset Field Format Description
JE J4 J5
  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.
  224 610 Entry Type Char(1) The type of entry.
A
Add
C
Change
D
Delete
I
Initialize Environment Variable Space
  225 611 Name Truncated Char(1) Indicates whether the environment variable name (offset 232) is truncated.
Y
Environment variable name truncated.
N
Environment variable name not truncated.
  226 612 CCSID Binary(5) The CCSID of the environment variable name.
  230 616 Length Binary(4) The length of the environment variable name.
  232 618 Environment Variable Name2 Char(1002) The name of the environment variable.
  1234 1620 New Name Truncated1 Char(1) Indicates whether the new environment variable name (offset 1241) is truncated.
Y
Environment variable value truncated.
N
Environment variable value not truncated.
  1235 1621 New Name CCSID1 Binary(5) The CCSID of the new environment variable name.
  1239 1625 New Name Length1 Binary(4) The length of the new environment variable name.
  1241 1627 New Environment Variable Name1,2 Char (1002) The new environment variable name.
1
These fields are used when the entry type is C.
2
This is a variable length field. The first two bytes contain the length of the environment variable name.