OR (Object Restore) journal entries

This table provides the format of the OR (Object Restore) journal entries.

Table 1. OR (Object Restore) journal entries. QASYORJE/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.
N
A new object was restored to the system.
E
An existing object was restored to the system.
157 225 611 Restored Object Name Char(10) The name of the restored object.
167 235 621 Restored Library Name Char(10) The name of the library of the restored object.
177 245 631 Object Type. Char(8) The type of object.
185 253 639 Save Object Name Char(10) The name of the save object.
195 263 649 Save Library Name Char(10) The name of the library from which the object was saved.
205 273 659 Program State1 Char(1)
I
An inherit state program was restored.
Y
A system state program was restored.
N
A user state program was restored.
206 274 660 System Command 2 Char(1)
Y
A system command was restored.
N
A user state command was restored.
207     (Reserved Area) Char(18)  
  275 661 SETUID Mode Char(1) The SETUID mode indicator.
Y
The SETUID mode bit for the restored object is on.
N
The SETUID mode bit for the restored object is not on.
  276 662 SETGID Mode Char(1) The SETGID mode indicator.
Y
The SETGID mode bit for the restored object is on.
N
The SETGID mode bit for the restored object is not on.
  277 663 Signature Status Char(1) The signature status of the restored object.
B
Signature was not in IBM i format
E
Signature exists but is not verified
F
Signature does not match object content
I
Signature ignored
N
Unsignable object
S
Signature is valid
T
Untrusted signature
U
Object unsigned
  278 664 Scan attribute Char(1) If the file was an integrated file system object, the value of the scan attribute for that object where
Y
*YES
N
*NO
C
*CHGONLY
See the CHGATR command for descriptions of these values.
  279   (Reserved Area) Char(14)  
    665 Object Attribute Char(10) The attribute of the object.
    675 (Reserved Area) Char(4)  
225 293 679 Office User Char(10) The name of the office user.
235 303 689 Restore DLO Name Char(12) The document library object name of the restored object.
247 315 701 (Reserved Area) Char(8)  
255 323 709 Restore Folder Path Char(63) The folder into which the DLO was restored.
318 386 772 Save DLO Name Char(12) The DLO name of the saved object.
330 398 784 (Reserved Area) Char(8)  
338 406 792 Save Folder Path Char(63) The folder from which the DLO was saved.
401 469 855 Office on Behalf of User Char(10) User working on behalf of another user.
411     (Reserved Area) Char(20)  
  479   (Reserved Area) Char(18)  
    865 Restore Private Authorities Char(1)
Private authorities requested to be restored (PVTAUT(*YES) specified on restore command)
Y
PVTAUT(*YES) specified on restore command
N
PVTAUT(*NO) specified on restore command
    866 Private Authorities Saved8 Binary(5) Number of private authorities saved
    870 Private Authorities Restored8 Binary(5) 8 Number of private authorities restored
    874 (Reserved Area) Char(9)  
  497 883 Object Name Length Binary (4) The length of the Old Object Name field.
431 499 885 Object Name CCSID3 Binary(5) The coded character set identifer for the object name.
435 503 889 Object Name Country or Region ID3 Char(2) The Country or Region ID for the object name.
437 505 891 Object Name Language ID3 Char(3) The language ID for the object name.
440 508 894 (Reserved area) Char(3)  
443 511 897 Parent File ID3,4 Char(16) The file ID of the parent directory.
459 527 913 Object File ID3,4 Char(16) The file ID of the object.
475 543 929 Object Name3 Char(512) The name of the object.
  1055 1441 Old File ID Char(16) The file ID for the old object.
  1071 1457 Media File ID Char(16) The file ID (FID) that was stored on the media file.
Note:
The FID stored on the media is the FID the object had on the source system.
  1087 1473 Object File ID Char(16) The file ID of the object.
  1103 1489 ASP Name7 Char(10) The name of the ASP device.
  1113 1499 ASP Number7 Char(5) The number of the ASP device.
  1118 1504 Path Name CCSID Binary(5) The coded character set identifier for the path name.
  1122 1508 Path Name Country or Region ID Char(2)

The Country or Region ID for the path name.

  1124 1510 Path Name Language ID Char(3)

The language ID for the path name.

  1127 1513 Path Name Length Binary(4)

The length of the path name.

  1129 1515 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.
  1130 1516 Relative Directory File ID5 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.5
  1146 1532 Path Name6 Char(5002) The path name of the object.
1
This field has an entry only if the object being restored is a program.
2
This field has an entry only if the object being restored is a command.
3
This field is used only for objects in the "root" (/) ,QOpenSys, and user-defined file system.
4
An ID that has the left-most bit set and the rest of the bits zero indicates that the ID is NOT set.
5
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.
6
This is a variable length field. The first 2 bytes contain the length of the path name.
7
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.
8
This field is zero if Restore Private Authorities (offset 865) is N.