Command reference / journal

DSPJRN

Display Journal

The Display Journal (DSPJRN) command allows you to convert journal entries (contained in one or more receivers) into a form suitable for external representation. Output of the command can be displayed or printed with the job's spooled printer output or directed to a database output file. If the database output file exists, records may either replace or be added to the current data in the indicated file member. The system creates the specified database file and member if they do not exist. Database files created by the system have a standard format. A warning message is sent and the records are truncated if any of the entries are longer than the specified maximum record length of the output files. The contents of selected entries in the journal receivers may be converted for output. It is also possible to selectively limit the entries that are displayed. If no journal entries satisfy the selection or limitation criteria, an escape message is sent indicating that fact. Gaps may exist in the sequence numbers of the entries converted. These occur because some of the journal entries represent internal system information. These internal entries can be shown by specifying INCHIDENT(*YES). It is possible to show journal entries whose journal sequence numbers are reset in the chain of receivers being specified. The QSYS2.DISPLAY_JOURNAL table function returns similar information.

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC, *BATCH, *BPGM, *BREXX. Positional parameters: 1.

Restrictions

Parameters

JRN Journal

Specifies the journal from which the journal entries are retrieved for conversion and output. This is a required parameter.

Type
*QUAL
Required
Yes
Case
Uppercase
*INTSYSJRN
The internal system journal associated with the journal specified on the JRNID parameter is used. Internal system journals are not stored in libraries. Note: You must specify a value for JRNID when specifying JRN(*INTSYSJRN). Note: You must have *ALLOBJ special authority to specify JRN(*INTSYSJRN).
journal-name
Specify the name of the journal.
*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 searched. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Journal Journal

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

FILE Journaled file

Specifies a maximum of 300 qualified database file names whose journal entries are converted for output. This parameter also specifies the name of the physical file member whose journal entries are to be converted for output. Either the FILE parameter may be specified, or one or more of the object parameters (OBJ, OBJPATH, OBJFID, or OBJJID) may be specified, but not both. To determine which journal entries are to be converted for output, based on the specified file or physical file member name, the following is done: If the journal is a local journal, and if the specified file or physical file member currently exists on the system, the journal identifier is determined from the specified file or physical file member. All journal entries in the specified receiver range for that journal identifier are converted for output. If the journal is a remote journal, or if the specified file or physical file member does not currently exist on the system, the specified receiver range is searched to determine all possible journal identifiers that are associated with the specified file or physical file member. All journal entries in the specified receiver range for those journal identifiers are converted for output. Specify the library name or *CURLIB to have entries returned for the file. There may be more than one journal identifier associated with a specified object within the specified receiver range. This can happen when a journaled object is deleted, and then a new object is created with the same name and journaled to the same journal. Notes: The journal identifier is the unique identifier associated with the object when journaling is started for that object. The journal identifier stays constant, even if the object is renamed, moved or restored. See the Journal management topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ for more information. When specifying a database file on this parameter, journal entries with the following journal code values are converted for output only if they satisfy the values specified on the other parameters: Journal code D (database file-level information entries). Journal code F (file member-level information entries). Journal code R (record-level information entries). Journal code U (user-generated entries). Other journal codes, if *IGNFILSLT is the second element of the journal code. If *ALLSLT is the second element of the journal code, no journal entries with that code are converted for output. If *ALL is specified for the file-name element, this member name is used for all applicable physical files in the library. For example, if library-name/*ALL *FIRST is specified on the FILE parameter, the journal entries of the first members of all applicable physical files in the specified library are converted for output.

Type
*QUAL
Required
No
Default
*ALLFILE
List limit
300
Case
Uppercase

Suggested / special values: *ALLFILE, *ALL

*ALLFILE
The search for the journal entries received is not limited to a specified file name. All journal entries are converted for output, regardless of which objects, if any, the entries are associated with.
*FIRST
Journal entries for the database physical file and the first member in the file are converted for output. This value is not valid for remote journals.
*ALL
Journal entries for the database physical file and all the currently existing members in the file are converted for output.
*NONE
Only entries for the database file are converted for output. Entries for members of the file are not converted for output.
name
Specify the name of the physical file member whose entries are being converted for output. If the specified physical file does not exist on the system, specify either *ALL or a specific physical file member name.
Qualifier 1: File: *ALL
Journal entries for all physical or logical database files in the specified library (the library name must be specified) whose journaled changes are currently in the journal receiver are converted for output. If *ALL is specified and the user does not have the required authority to all of the files, an error occurs, and the command ends.
Qualifier 1: File: file-name
Specify the name of the database file whose journal entries are being converted for output.
Qualifier 2: Library: *LIBL
All libraries in the job's library list are searched until the first match is found.
Qualifier 2: Library: *CURLIB
The current library for the job is used to locate the file. If no library is specified as the current library for the job, QGPL is used.
Qualifier 2: Library: name
Specify the library where the file is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

File File

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

RCVRNG Range of journal receivers

Specifies the starting (first) and ending (last) journal receivers (the receiver range) that contain the journal entries being converted for output. The system starts with the starting journal receiver (as specified by the first value) and proceeds through the receiver chain until the ending receiver (as specified by the last value) is processed. Note: If the maximum number of receivers (2045) in the range is surpassed, an error occurs and no journal entries are converted.

Type
*CHAR
Required
No
Default
*CURRENT
Length
10
Case
Uppercase

Allowed values: *CURRENT, *CURCHAIN

*CURRENT (Range of journal receivers (RCVRNG))
The journal receiver that is currently attached when starting to convert journal entries is used.
*CURCHAIN
The journal receiver chain that includes the journal receiver that is currently attached when starting to convert journal entries is used. This receiver chain does not cross a break in the chain. If there is a break in the chain, the receiver range is from the most recent break in the chain through the receiver that is attached when starting to convert journal entries.
*CURAVLCHN
The journal receiver chain that includes the journal receiver that is attached when starting to convert journal entries is used. This receiver chain does not cross a break in the chain. If there is a break in the chain, the receiver range is from the most recent break in the chain through the receiver that is attached when starting to convert journal entries. If journal receivers exist in the receiver chain that are not available because they were saved with the storage freed option, those journal receivers will be ignored and entries will be converted starting with the first available journal receiver in the chain.
*CURSEQCHN
The journal receiver chain that includes the journal receiver that is attached when starting to convert journal entries is used, starting with the most recent journal receiver in which the journal sequence number was reset if the journal sequence number was reset in the receiver chain. This receiver chain does not cross a break in the chain. If there is a break in the chain, the receiver range is from the most recent break in the chain through the receiver that is attached when starting to convert journal entries. If journal receivers exist in the receiver chain that are not available because they were saved with the storage freed option, those journal receivers will be ignored and entries will be converted starting with the first available journal receiver in the chain.
*CURRENT (Ending journal receiver)
The journal receiver that is currently attached when starting to convert journal entries is used.
Starting receiver: name
Specify the name of the first journal receiver whose entries are converted for output.
Starting receiver library: *LIBL
All libraries in the job's library list are searched until the first match is found.
Starting receiver library: *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.
Starting receiver library: name
Specify the library where the journal receiver is located.
Ending receiver: name
Specify the name of the last journal receiver whose entries are to be converted for output.
Ending receiver library: *LIBL
All libraries in the job's library list are searched until the first match is found.
Ending receiver library: *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.
Ending receiver library: name
Specify the library where the journal receiver is located.

FROMENT Starting sequence number

Specifies the first journal entry that is being considered for conversion for external representation. Note: You can specify a value for either the Starting sequence number (FROMENT) parameter or the Starting large sequence number (FROMENTLRG) parameter, but not for both.

Type
*CHAR
Required
No
Default
*FIRST
Length
20
Case
Uppercase

Suggested / special values: *FIRST

*FIRST
The first journal entry in the specified journal receiver range is the first entry being considered for conversion for external representation.
starting-sequence-number
Specify the assigned sequence number of the first journal entry that is being considered for conversion for external representation. The possible range is 1 to 9,999,999,999.

TOENT Ending sequence number

Specifies the last journal entry being converted for external representation. Note: You can specify a value for either the Ending sequence number (TOENT) parameter or the Ending large sequence number (TOENTLRG) parameter, but not for both.

Type
*CHAR
Required
No
Default
*LAST
Length
20
Case
Uppercase

Suggested / special values: *LAST

*LAST
The last journal entry in the specified journal receiver range is the final entry being converted for external representation.
ending-sequence-number
Specify the specific sequence number of the final journal entry being converted for external representation. The possible range is 1 to 9,999,999,999.

NBRENT Number of entries

Specifies the total number of journal entries that are being converted for output. The IBM i default is *ALL.

Type
*CHAR
Required
No
Default
*NOMAX
Length
10
Case
Uppercase

Suggested / special values: *NOMAX

*ALL
All journal entries that satisfy the selection values and that are in the specified journal receiver range are converted.
maximum-entries
Specify the maximum number of journal entries to be converted. If the journal entry specified on the TOENTLRG, TOENT, or TOTIME parameter is reached before the value specified on the NBRENT parameter is met, the command ends normally.

JRNCDE Journal codes

Specifies the journal codes for which journal entries are converted for output.

Type
*CHAR
Required
No
Default
*ALL
Length
7
List limit
16
Case
Uppercase

Suggested / special values: *ALL, *CTL

*ALL
The conversion of journal entries is not limited to entries with a particular journal code.
*CTL
Only journal entries created to control the journal functions are converted for external representation. The journal codes are 'J' and 'F'.
journal-code
Specify the journal code for which journal entries are converted. For a list of the journal codes that are valid on this parameter, press F4 (Prompt) from the JRNCDE prompt. An explanation of the list of journal codes that can be specified is in the Journal management topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/. Search for "journal entry finder".
*ALLSLT
The journal entries with the specified journal code are converted for output only if all other selection parameters are satisfied.
*IGNFILSLT
Journal entries having the specified journal code are converted for output only if all selection parameters, except the FILE parameter, are satisfied. Note: This value is not valid for journal codes D, F, and R. This value is not valid if the OBJ, OBJPATH, OBJFID, or OBJJID parameters are specified.
*IGNOBJSLT
Journal entries having the specified journal code are converted for output only if all selection parameters are satisfied except OBJ, OBJPATH, OBJFID, SUBTREE, PATTERN, and OBJJID. Note: This value is not valid for journal codes B, D, E, F, Q, R, and Y. This value is not valid if the FILE parameter is specified.

ENTTYP Journal entry types

Specifies whether to limit the conversion of journal entries to those of a specified entry type.

Type
*CHAR
Required
No
Default
*ALL
Length
5
List limit
300
Case
Uppercase

Suggested / special values: *ALL, *RCD

*ALL
The conversion of journal entries is not limited to a particular entry-type.
*RCD
Only entries that have an entry type for record level operations are converted. The following entry types are valid: BR, DL, DR, IL, PT, PX, UB, UP, and UR.
entry-type
Specify the entry type that limits the number of journal entries being converted for external representation. Up to 300 valid entry types can be specified. More information on entry types is in the Journal management topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/. Search for "journal entry finder".

JOB Job name

Specifies that the journal entries being converted for external representation are limited to the journal entries for a specified job. Only journal entries for the specified job are converted for external representation.

Type
*CHAR
Required
No
Default
*ALL
Length
28
Case
Uppercase

Suggested / special values: *ALL

*ALL
The conversion of journal entries for external representation is not limited to entries for a specified job.
job-identifier
Specify the job name, the user name, and the job number of the job to use. You can also specify that the job name only, or that the job name and the user name be used. job-name Specify the job name of the job. user-name Specify the user name of the job. job-number Specify the system-assigned job number.

USRPRF User profile

Specifies that the journal entries being considered for conversion for external representation are limited to the journal entries created for the specified user profile name. The user name identifies the user profile under which the job was run that deposited the journal entries.

Type
*NAME
Required
No
Default
*ALL
Length
10
Case
Uppercase

Suggested / special values: *ALL

*ALL
The conversion of journal entries is not limited to entries for a specified user profile.
user-name
Specify the name of the user profile whose journal entries are being converted for external representation.

PGM Program

Specifies that the journal entries being converted for external representation are limited to the journal entries created by a specified program.

Type
*NAME
Required
No
Default
*ALL
Length
10
Case
Uppercase

Suggested / special values: *ALL

*ALL
The conversion of journal entries is not limited to entries created by a particular program.
program-name
Specify the name of the program whose journal entries are being converted for external representation.

OUTPUT Output

Specifies whether the output from the command is shown at the requesting work station, printed with the job's spooled printer output, or sent to the database file specified on the File to receive output (OUTFILE) parameter. When the output of the command is directed to the requesting work station, basic information on the journal entries is shown. From the basic display, an option can be selected to show information in detail for any journal entry being shown. If the output is printed with the job's spooled printer output, all of the information that would be shown is printed. File QPDSPJRN in QSYS is used for printed output.

Type
*CHAR
Required
No
Default
*
Length
8
Case
Uppercase

Allowed values: *, *PRINT, *OUTFILE

*
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.
*OUTFILE
The output is directed to the database file specified for the File to receive output (OUTFILE) parameter.

OUTFILFMT Outfile format

Specifies the format of the journal entries written to the output file specified on the File to receive output (OUTFILE) parameter. This parameter can be specified only if the value *OUTFILE is specified on the OUTPUT parameter. Note: If the Receiver size options field (RCVSIZOPT) for the journal was specified as *MAXOPT3, the sequence number, commit cycle identifier, the count of entries applied or removed or relative record number fields can reach a maximum value of 18,446,744,073,709,551,600. The length of these fields in the *TYPE1, *TYPE2, *TYPE3, and *TYPE4 formats is defined to hold a 10 digit number. Only the *TYPE5 format has fields large enough to hold this maximum value. During the building of the output file for the *TYPE1, *TYPE2, *TYPE3, or *TYPE4 formats, if a sequence number or commit cycle identifier larger than 10 digits is found, the field is set to -1 for that record. At the conclusion of writing the output file, an informational message (CPI7013) will be issued to the joblog as an alert that the output file contains incomplete information in those particular fields.

Type
*CHAR
Required
No
Default
*TYPE1
Length
7
Case
Uppercase

Allowed values: *TYPE1, *TYPE2, *TYPE3, *TYPE4, *TYPE5

*TYPE1
The converted entries are formatted to include the minimum information that can be specified. The information fields and the format of the information in each journal entry is shown in the following table: Figure: Table 1 - OUTFILFMT(*TYPE1) Journal Entry Format.
*TYPE2
The converted entries include the information returned when OUTFILFMT(*TYPE1) is specified, the name of the user profile for the job that generated the displayed journal entries, and the name of the system on which the output records were generated. The format of the information in each journal entry is shown in the following table: Figure: Table 2 - OUTFILFMT(*TYPE2) Journal Entry Format.
*TYPE3
The converted journal entries include all the information returned when OUTFILFMT(*TYPE2) is specified, and the null value indicators. The format of the information in each converted journal entry is shown in the following table: Figure: Table 3 - OUTFILFMT(*TYPE3) Journal Entry Format.
*TYPE4
The converted entries include the information returned when OUTFILFMT(*TYPE3) is specified, the journal identifier, the physical file trigger indicator, and the referential constraint indicator. The format of the information in each converted journal entry is shown in the following table: Figure: Table 4 - OUTFILFMT(*TYPE4) Journal Entry Format.
*TYPE5
The converted entries include the information returned when OUTFILFMT(*TYPE4) is specified, in addition to the program library name, the program library ASP device name, the program library ASP number, the system sequence number, the logical unit of work, the transaction identifier, the thread identifier, the remote address, the address family, the remote port, the arm number, the receiver name, the receiver library name, the receiver library ASP device name, the receiver library ASP number, and the object type. The format of the information in each converted journal entry is shown in the following table: Figure: Table 5 - OUTFILFMT(*TYPE5) Journal Entry Format.

OUTFILE File to receive output

Specifies the name and library of the database file to which the output of the command is directed. If the output file already exists, the system attempts to use it. Records may replace or be added to the current data in the file member. If no records are written to the database file (because of the specified selection values), and *REPLACE is specified on the OUTMBR parameter, records are cleared from the existing database file. If the file does not exist, this command creates a database file in the specified library. If a new file is created and *TYPE1 is specified on the OUTFILFMT parameter, the system uses QADSPJRN in QSYS with a format name of QJORDJE as a model. If a new file is created and *TYPE2 is specified on the OUTFILFMT parameter, the system uses QADSPJR2 in QSYS with a format name of QJORDJE2 as a model. If a new file is created and *TYPE3 is specified on the OUTFILFMT parameter, the system uses QADSPJR3 in QSYS with a format name of QJORDJE3 as a model. If a new file is created and *TYPE4 is specified on the OUTFILFMT parameter, the system uses QADSPJR4 in QSYS with a format name of QJORDJE4 as a model. If a new file is created and *TYPE5 is specified on the OUTFILFMT parameter, the system uses QADSPJR5 in QSYS with a format name of QJORDJE5 as a model.

Type
*QUAL
Required
No
Case
Uppercase
file-name
Specify the name of the file.
*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 searched. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

File to receive output File to receive output

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

OUTMBR Output member options

Specifies the name of the database file member that receives the output of the command.

Type
*ELEM
Required
No
Case
Uppercase
*FIRST
The first member in the file receives the output. If OUTMBR(*FIRST) is specified and the member does not exist, the system creates a member with the name of the file specified for the File to receive output (OUTFILE) parameter. If the member already exists, you have the option to add new records to the end of the existing member or clear the member and then add the new records.
name
Specify the name of the file member that receives the output. If it does not exist, the system creates it.
*REPLACE
The system clears the existing member and adds the new records.
*ADD
The system adds the new records to the end of the existing records.
Elements in order

Member to receive output Member to receive output

Type
*NAME
Required
No
Default
*FIRST
Length
10
Case
Uppercase

Suggested / special values: *FIRST

Replace or add records Replace or add records

Type
*CHAR
Required
No
Default
*REPLACE
Length
8
Case
Uppercase

Allowed values: *REPLACE, *ADD

Examples

DSPJRN JRN(MYLIB/JRNLA)

When issued at a work station, this command converts and shows the first journal entries in the journal receiver currently attached (when the converting of journal entries is started) to the journal JRNLA in library MYLIB. Subsequent entries are shown by pressing the Page Down key. When entered from a batch job, the above command prints all converted journal entries with the job's spooled printer output. The entry-specific data portion of the journal entries are shown in character format.

DSPJRN JRN(MYLIB/JRNLA) FILE((LIB1/A MBR3) (LIB1/C) (LIB2/*ALL *ALL)) RCVRNG((RCVLIB/RCV27 RCVLIB/RCV30)) FROMENT(4736) ENTTYP(UP DL) JOB(000666/QPGMR/WORKST01) PGM(TSTPGMA) ENTDTALEN(280) OUTPUT(*OUTFILE) OUTFILE(MYLIB/JRNENTFIL1)

This command converts selected journal entries in the journal receiver chain (from receiver RCV27 in library RCVLIB to receiver RCV30 in library RCVLIB) that is associated with JRNLA in library MYLIB and places them in the first member of the database file JRNENTFIL1 in library MYLIB. If the database file does not exist, it is created with a format of QJORDJE. The last field in the format is 280 bytes in length. The journal entry that has a sequence number of 4736 is the first entry written to the output file. Only entries for record updates and deletes made by program TSTPGMA in the job 000666/QPGMR/WORKST01 to member MBR3 of file A in library LIB1, the first member of file C in library LIB1, and all members of all files in library LIB2 are written to the output file.

DSPJRN JRN(SS/J) FILE(SS1/PF) RCVRNG((SS/R1 *CURRENT)) JRNCDE(F) USRPRF(MAC7) OUTFILE(FMTLIB/ENTFILE) OUTFILFMT(*TYPE2)

This command converts selected journal entries in the journal receiver range. The range begins with journal receiver R1 in library SS and ends with the journal receiver currently attached (when the converting of journal entries is started) to journal J in library SS. The entries are placed in the first member of the database file ENTFILE in library FMTLIB. If the file does not exist, it is created with the QJORDJE2 format. The last field of the format is 100 bytes in length. Only entries made by the user MAC7 to the first member of file PF in library SS1 are written to the output file.

DSPJRN JRN(LIBPROD/PRODJRN) FILE(APPLIB/PFILE) OUTFILFMT(*TYPE5) OUTFILE(JRNLIB/ENTFILE) ENTDTALEN(*VARLEN 500 100) NULLINDLEN(25)

This command converts selected journal entries from the journal receiver currently attached (when the converting of entries is started) to the journal PRODJRN in library LIBPROD. The entries are placed in the first member of the database file ENTFILE in library JRNLIB. If the file does not exist, it is created with the QJORDJE5 format. The entry-specific data field is a variable-length field with a maximum field length of 500 characters and an allocated length of 100 characters. The null value indicators field is a fixed-length field of 25 characters. Only entries for the file PFILE in library APPLIB and for the first member of the file are written to the output file.

DSPJRN JRN(JRNLIB/JRNA) FILE(FILLIB/FILEA) ENTTYP(UP DL) OUTPUT(*OUTFILE) OUTFILFMT(*TYPE5) OUTFILE(ENTLIB/ENTFILE) ENTDTALEN(*CALC) NULLINDLEN(*VARLEN *CALC *FLDLEN)

This command converts only the record update (UP) and record delete (DL) journal entries for the first member of file PFILEA in library FILLIB from the journal receiver currently attached (when the converting of entries is started) to the journal JRNA in library JRNLIB. The entries are written to the first member of database file ENTFILE in library ENTLIB. If the file does not exist, it is created with the QJORDJE5 format. The system calculates the length of the fixed-length, entry-specific data field. The system also calculates the length of the variable-length null value indicators field. The allocated length of this field is the same as the maximum field length.

DSPJRN JRN(JRNLIB/JRNA) FILE(FILLIB/FILEA) RCVRNG(*CURCHAIN) JRNCDE((F *ALLSLT) (R *ALLSLT) (U *IGNFILSLT)) OUTPUT(*PRINT)

This command converts journal entries with: Journal entries are converted from the chain of journal receivers, which are the journal receivers in the range from the latest chain break through the journal receiver currently attached when the converting of entries is started, associated with the journal JRNA in library JRNLIB. The converted entries are written to a print file. The report includes file-level information for FILEA and its first member, record-level information for the selected file and member, and user entries regardless of the file selection.

DSPJRN JRN(LIBPROD/PRODJRN) OBJ((APPLIB/D1 *DTAARA) (APPLIB/D2 *DTAQ) (APPLIB/D3 *FILE *NONE)) OBJPATH(('/mydirectory')) SUBTREE(*YES) OUTFILFMT(*TYPE5) OUTFILE(JRNLIB/ENTFILE)

This command converts selected journal entries from the journal receiver currently attached (when the converting of entries is started) to the journal PRODJRN in library LIBPROD. The entries are placed in the first member of the database file ENTFILE in library JRNLIB. If the file does not exist, it is created with the QJORDJE5 format. Only entries associated with the specified objects are converted. These objects are a data area in library APPLIB called D1, a data queue in library APPLIB called D2, and a database file D3 in library APPLIB, as well as the directory '/mydirectory' and all directories, stream files, and symbolic links within that directory or one of its subdirectories.

IBM command documentation

Generated from os/cl/catalog/DSPJRN.json and os/cl/help/DSPJRN.json.