Display Journal Receiver Atr (DSPJRNRCVA)

The Display Journal Receiver Attributes (DSPJRNRCVA) command shows the creation and current operational attributes of a journal receiver, including the name of the journal the receiver is now attached to, or was last attached to (if the receiver is not currently attached). If the journal receiver is associated with a local journal and was originally attached to a local journal, names of the journal receivers that were attached before and after the specified receiver are displayed. The information also includes, for example, the number of journal entries contained in the journal receiver, the length of the longest entry-specific data, the maximum number of null value indicators in a journal entry, the journal sequence numbers of the first and last entries on the journal receiver, and the date and time that the receiver was attached and detached as well as remote journal related information such as the local and source journals.

From the display supplied by the command, an option can be selected to display the previous receiver, the next receiver, or the dual receiver if the journal receiver is associated with a local journal and was originally attached to a local journal. Additionally, if the journal receiver is currently associated with a journal, an option can be selected to display details about the associated journal.

Parameters

Keyword Description Choices Notes
JRNRCV Journal receiver Qualified object name Required, Positional 1
Qualifier 1: Journal receiver Name
Qualifier 2: Library Name, *LIBL, *CURLIB
OUTPUT Output *, *PRINT Optional, Positional 2

Journal receiver (JRNRCV)

Specifies the journal receiver to be shown.

This is a required parameter.

Qualifier 1: Journal receiver

journal-receiver-name
Specify the name of the journal receiver.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the journal receiver. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the library where the journal receiver is located.

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is shown (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.

File QPDSPRCV in QSYS is used for printed output.

Examples

DSPJRNRCVA   JRNRCV(MYLIB/JRNRCLA)  OUTPUT(*PRINT)

This command prints the current operational attribute information of journal receiver JRNRCLA in library MYLIB with the job's spooled printer output.

Error messages

*ESCAPE Messages

CPF701A
Journal receiver not eligible for operation.
CPF701B
Journal recovery of an interrupted operation failed.
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9804
Object &2 in library &3 damaged.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9850
Override of printer file &1 not allowed.
CPF9871
Error occurred while processing.