Command reference / db
WRKJRN
Work with Journals
The Work with Journals (WRKJRN) command shows you a menu from which options for journal operations can be selected. From the primary menu, options can be selected to display the status of the journal, perform forward or back-out object recovery, recover damaged journals and journal receivers, or associate journal receivers with a journal. All of these options are supported for local journals; for remote journals, only the associate journal receivers option is supported.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 2.
Parameters
JRN
Journal
Specifies the journals to be shown on the Work with Journals display.
*ALL- All journals in the specified library will be shown.
*LIBL- All libraries in the library list for the current thread are searched. All journals with the specified name in these libraries are shown.
*ALL (library)- All libraries on the system, including QSYS, and all libraries on any associated IASP, are searched.
*CURLIB- The current library for the thread is searched. If no library is specified, QGPL is searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Journal
Journal
Suggested / special values:
*ALL
Library
Library
Suggested / special values:
*LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR
OUTPUT
Output
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
*- The output is displayed for interactive jobs or printed for non-interactive jobs.
*PRINT- The output is printed with the job's spooled output.
Examples
WRKJRN
This command displays the Specify Journal Name panel. Once a journal name and library are specified, the Work with Journals panel is shown.
WRKJRN JRN(*LIBL/ABC*)
This command displays the Work with Journals panel and includes all journals whose names begin with 'ABC' and are found in libraries within the library list.
Generated from os/cl/catalog/WRKJRN.json and os/cl/help/WRKJRN.json.