PA (Program Adopt) journal entries

This table provides the format of the PA (Program Adopt) journal entries.

Table 1. PA (Program Adopt) journal entries. QASYPAJE/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.
A
Change program to adopt owner's authority.
J
Java™ program adopts owner's authority.
M
Change object's SETUID, SETGID, or Restricted rename and unlink mode indicator.
157 225 611 Program Name3 Char(10) The name of the program.
167 235 621 Program Library3 Char(10) The name of the library where the program is found.
177 245 631 Object Type Char(8) The type of object.
185 253 639 Owner Char(10) The name of the owner.
  263 649 IXVTX mode Char(1) The restricted rename and unlink (ISVTX) mode indicator.
Y
The ISVTX mode indicator is on for the object.
N
The ISVTX mode indicator is not on for the object.
  263 649 Reserved Char(17)  
  281 667 Object Name Length1 Binary (4) The length of the object name.
  283 669 Object Name CCSID1 Binary(5) The coded character set identifier for the object name.
  287 673 Object Name Country or Region ID Char(2) The Country or Region ID for the object name.
  289 675 Object Name Language ID1 Char(3) The language ID for the object name.
  292 678 Reserved Char(3)  
  295 681 Parent ID1, 2, 3 Char(16) Parent File ID.
  311 697 Object File ID 3 Char(16) File ID for the object
  327 713 Object Name1 Char(512) Object name for the object.
  839 1225 SETUID Mode Char(1) The Set effective user ID (SETUID) mode indicator.
Y
The SETUID mode bit is on for the object.
N
The SETUID mode bit is not on for the object.
  840 1226 SETGID Mode Char(1) The Set effective group ID (SETGID) mode indicator.
Y
The SETGID mode bit is on for the object.
N
The SETGID mode bit is not on for the object.
  841 1227 Primary Group Owner Char(10) The name of the primary group owner.
  851 1237 Object File ID Char(16) The file ID of the object.
  867 1253 ASP Name6 Char(10) The name of the ASP device.
  877 1263 ASP Number6 Char(5) The number of the ASP device.
  882 1268 Path Name CCSID Binary(5) The coded character set identifier for the path name.
  886 1272 Path Name Country or Region ID Char(2)

The Country or Region ID for the path name.

  888 1274 Path Name Language ID Char(3)

The language ID for the path name.

  891 1277 Path Name Length Binary(4)

The length of the path name.

  893 1279 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.
  894 1280 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
  910 1296 Path Name5 Char(5002) The path name of the object.
1
These fields are used only for objects in the "root" (/), QOpenSys, and user-defined file systems.
2
An ID that has the left-most bit set and the rest of the bits zero indicates that the ID is NOT set.
3
When the entry type is J, the program name and the library name fields will contain *N. In addition, the parent file ID and the object file ID fields will contain binary zeros.
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.