When you use job log output files, consider the job log information you want in the files and the model files that describe the output-file record formats.
Job log direction
You can direct the job log for a job to one or two database files
with the Control Job Log (QMHCTLJL) API or the Display
Job Log (DSPJOBLOG) command.
Primary job log model
The IBM-supplied model for the primary job log file is QAMHJLPR
in library QSYS. The primary record format is QMHPFT.