View the journal entries through the output file

If you would like to see the journal entries formatted into one folder, view the MODEL.OUT file in the QUSRSYS directory. By copying the journal entries to the output file, you can easily view the entries by using query utilities such as Query/400 or SQL. You can also write your own HLL programs to process the entries in the output files.

To copy the quality of service (QoS) journal entries to the system-supplied output file:

  1. Create a copy of the system-supplied output file QSYS/QATOQQOS into a user library. You can do this by using the Create Duplicate Object (CRTDUPOBJ) command. The following string is an example of the CRTDUPOBJ command:
    • CRTDUPOBJ OBJ(QADSPJR4) FROMLIB(Qsys) OBJTYPE(*FILE) TOLIB(userlib) NEWOBj(userfile)
  2. Use the Display Journal (DSPJRN) command to copy the entries from the QUSRSYS/QQOS journal to the output file created in the previous step. If you attempt to copy the DSPJRN into an output file that does not exist, the system creates a file for you, but this file does not contain the correct field descriptions.
    • DSPJRN JRN(QUSRSYS/QQOS) JRNCDE((M)) ENTTYP(MP) CMTCYCID(*ALL) OUTPUT(*OUTFILE) OUTFILFMT(*TYPE4) OUTFILE(userlib/userfile)
    • DSPF FILE(userlib/userfile)