Syntax

D LOGREC
 
D LOGREC[,{CURRENT|CURR}|{DATASET|DSN}|{ALL|A}]

        [,L={a|name|name-a}]
 

The parameters are:

CURRENT or CURR
Indicates that the system is to display the current logrec medium. CURRENT is the default. The possible current mediums are as follows:
  • LOGSTREAM, which displays the log stream name and status.
  • DATASET, which displays the logrec data set name and status.
  • IGNORE, which indicates that there is no logrec medium.
DATASET or DSN
Indicates that the system is to display only the logrec data set name and status. If a data set name is displayed, then it is defined. The displayed data set, however, might not be the current logrec recording medium. To determine the current recording medium, use the CURRENT option. If there is no data set defined, the system displays the text NOT DEFINED.
ALL or A
Indicates that the system is to display all, both current and alternate, logrec medium and data set names and status.
L=a, name, or name-a
Specifies the display area (a), console name (name), or both (name-a) where the display is to appear.

If you omit this operand, the display is presented in the first available display area or the message area of the console through which you enter the command.

Example:

To display information for all the logrec medium settings:
DISPLAY LOGREC,ALL