JS (Job Change) journal entries

This table provides the format of the JS (Job Change) journal entries.

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

Table 1. JS (Job Change) journal entries. QASYJSJE/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
ENDJOBABN command
B
Submit
C
Change
E
End
H
Hold
I
Disconnect
J
The current job is attempting to interrupt another job
K
The current job is about to be interrupted
L
The interruption of the current job has completed
M
Change profile or group profile
N
ENDJOB command
P
Attach prestart or batch immediate job
Q
Change query attributes
R
Release
S
Start
T
Change profile or group profile using a profile token.
U
CHGUSRTRC
V
Virtual device changed by QWSACCDS API.
157 225 611 Job Type Char(1) The type of job.
A
Autostart
B
Batch
I
Interactive
M
Subsystem monitor
R
Reader
S
System
W
Writer
X
SCPF
158 226 612 Job Subtype Char(1) The subtype of the job.
' '
No subtype
D
Batch immediate
E
Procedure start request
J
Prestart
P
Print device driver
Q
Query
T
MRT
U
Alternate spool user
159 227 613 Job Name Char(10) The first part of the qualified job name being operated on
169 237 623 Job User Name Char(10) The second part of the qualified job name being operated on
179 247 633 Job Number Char(6) The third part of the qualified job name being operated on
185 253 639 Device Name Char(10) The name of the device
195 263 649 Effective User Profile2 Char(10) The name of the effective user profile for the thread
205 273 659 Job Description Name Char(10) The name of the job description for the job
215 283 669 Job Description Library Char(10) The name of the library for the job description
225 293 679 Job Queue Name Char(10) The name of the job queue for the job
235 303 689 Job Queue Library Char(10) The name of the library for the job queue
245 313 699 Output Queue Name Char(10) The name of the output queue for the job
255 323 709 Output Queue Library Char(10) The name of the library for the output queue
265 333 719 Printer Device Char(10) The name of the printer device for the job
275 343 729 Library List2 Char(430) The library list for the job
705 773 1159 Effective Group Profile Name2 Char(10) The name of the effective group profile for the thread
715 783 1169 Supplemental Group Profiles2 Char(150) The names of the supplemental group profiles for the thread.
  933 1319 JUID Description Char(1) Describes the meaning of the JUID field:
' '
The JUID field contains the value for the JOB.
C
The clear JUID API was called. The JUID field contains the new value.
S
The set JUID API was called. The JUID field contains the new value.
  934 1320 JUID Field Char(10) Contains the JUID value
  944 1330 Real User Profile Char(10) The name of the real user profile for the thread.
  954 1340 Saved User Profile Char(10) The name of the saved user profile for the thread.
  964 1350 Real Group Profile Char(10) The name of the real group profile for the thread.
  974 1360 Saved Group Profile Char(10) The name of the saved group profile for the thread.
  984 1370 Real User Changed3 Char(1) The real user profile was changed.
Y
Yes
N
No
  985 1371 Effective User Changed3 Char(1) The effective user profile was changed.
Y
Yes
N
No
  986 1372 Saved User Changed3 Char(1) The saved user profile was changed
Y
Yes
N
No
  987 1373 Real Group Changed3 Char(1) The real group profile was changed.
Y
Yes
N
No
  988 1374 Effective Group Changed3 Char(1) The effective group profile was changed
Y
Yes
N
No
  989 1375 Saved Group Changed3 Char(1) The saved group profile was changed.
Y
Yes
N
No
  990 1376 Supplemental Groups Changed3 Char(1) The supplemental group profiles were changed.
Y
Yes
N
No
  991 1377 Library list Number4 Bin(4) The number of libraries in the library list extension field (offset 993).
  993 1379 Library List Extension4,5 Char(2252) The extension to the library list for the job.
    3631 Library ASP group Char(10) Library ASP group
    3641 ASP name Char(10) ASP name for JOBD library
    3651 ASP number Char(5) ASP number for JOBD library
    3656 Time Zone Name Char(10) The time zone description name
    3666 Exit Job Name or Workload Capping Group Name6, 7, 8 Char(10)

Can contain any of the following values:

  • The name of the job that interrupted the current job
  • The name of the job that was interrupted by the current job
  • The name of the workload capping group associated with the job
    3676 Exit Job User Char(10) The user of the job that interrupted the current job, or the user of the job that was interrupted by the current job
    3686 Exit Job Number6, 7 Char(6) The number of the job that interrupted the current job, or the job number of the job that was interrupted by the current job
    3692 Exit Program Name6 Char(10) The exit program used to interrupt the job
    3702 Exit Program Library6 Char(10) The library name of the exit program used to interrupt the job
    3712 JOBQ Library ASP Name Char(10) ASP name for JOBQ library
    3722 JOBQ Library ASP Number Char(5) ASP numer of JOBQ library
1
This field is blank if the job is on the job queue and has not run.
2
When the JS audit record is generated because one job performs an operation on another job then this field will contain data from the initial thread of the job that is being operated on. In all other cases, the field will contain data from the thread that performed the operation.
3
This field is used only when entry type (offset 610) is M or T.
4
This field is used only if the number of libraries in the library list exceeds the size of the field at offset 729.
5
This is a variable length field. The first two bytes contain the length of the data in the field.
6
This field is used only when entry type (offset 610) is J, K, or L.
7
When the entry type is J, this field contains information about the job that will be interrupted. When the entry type is K or L, this field contains information about the job that requested the interruption of the current job.
8
When the entry type is C, E, or S, this field contains the Workload Capping Group Name.