ZC (Change to Object) journal entries

This table provides the format of the ZC (Change to Object) journal entries.

Table 1. ZC (Change to Object) journal entries. QASYZCJE/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) Object access
C
Change of an object
U
Upgrade of open access to an object
157 225 611 Object Name Char(10) Name of the object
167 235 621 Library Name Char(10) Name of the library in which the object is located
177 245 631 Object Type Char(8) Type of object
185 253 639 Access Type Packed(5,0) Type of access 1
188 256 642 Access Specific Data Char(50) Specific data about the access
When the object type is *IMGCLG, this field contains the following format:
Char 3
Index number of the image catalog entry.
Blank
Indicates the operation was against an image catalog.
Char 32
Volume ID of the image catalog entry.
Blank
Indicates the operation was against an image catalog.
Char 1
Access type for the entry. The possible values are listed below.
Blank
Indicates the operation was against an image catalog.
R
The file containing the image catalog entry is read-only.
W
The file containing the image catalog entry is read/write capable.
Char 1
The write protection for the entry.
Blank
Indicates the operation was against an image catalog.
Y
The file containing the image catalog entry is write protected.
N
The file containing the image catalog entry is not write protected.
Char 10
The name of the virtual device.
Blank
Indicates the operation was against an image catalog or the image catalog is not in Ready status.
Char 3
Not used.

When the object type is an integrated file system object, this field contains further information identifying the change request. See the QSYSINC include file, QP0LJRNL.H for the possible values.

238     (Reserved Area) Char(20)  
  306 692 (Reserved Area) Char(18)  
  324 710 Object Name Length 2 Binary (4) The length of the object name.
258 326 712 Object Name CCSID2 Binary(5) The coded character set identifier for the object name.
262 330 716 Object Name Country or Region ID2 Char(2) The Country or Region ID for the object name.
264 332 718 Object Name Language ID2 Char(3) The language ID for the object name.
267 335 721 (Reserved area) Char(3)  
270 338 724 Parent File ID2, 3 Char(16) The file ID of the parent directory.
286 354 740 Object File ID2, 3 Char(16) The file ID of the object.
302 370 756 Object Name2 Char(512) The name of the object.
  882 1268 Object File ID Char(16) The file ID of the object.
  898 1284 ASP Name6 Char(10) The name of the ASP device.
  908 1294 ASP Number6 Char(5) The number of the ASP device.
  913 1299 Path Name CCSID Binary(5) The coded character set identifier for the path name.
  917 1303 Path Name Country or Region ID Char(2)

The Country or Region ID for the path name.

  919 1305 Path Name Language ID Char(3)

The language ID for the path name.

  922 1308 Path Name Length Binary(4)

The length of the path name.

  924 1310 Path Name Indicator Char(1) Path name indicator:
Y
The Path Name field contains complete absolute path name for the object.
N
The Path Name field does not contain an absolute path name for the object, instead it contains a relative path name. The Relative Directory File ID field is valid and can be used to form an absolute path name with this relative path name.
  925 1311 Relative Directory File ID4 Char(16) When the Path Name Indicator field is N, this field contains the file ID of the directory that contains the object identified in the Path Name field. Otherwise it contains hex zeros.4
  941 1327 Path Name5 Char(5002) The path name of the object.
1
See Numeric codes for access types for a list of the codes for access types.
2
These fields are used only for objects in the "root" (/), QOpenSys, and user-defined file systems.
3
An ID that has the left-most bit set and the rest of the bits zero indicates that the ID is NOT set.
4
If the Path Name Indicator field is N, but the Relative Directory File ID is hex zeros, then there was some error in determining the path name information.
5
This is a variable length field. The first 2 bytes contain the length of the path name.
6
If the object is in a library, this is the ASP information of the object's library. If the object is not in a library, this is the ASP information of the object.