DSPJRN (Display Journal) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No (1) >>-DSPJRN--JRN(--+-*INTSYSJRN----------------------+--)---------> | .-*LIBL/--------. | '-+---------------+--journal-name-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------------------------+------------> | .-*ALLFILE------------------------. | | | .-----------------------------. | | | | V (2) | | | '-FILE(--+---(--| FILE Details |--)------+-+--)-' >--+-----------------------------------------+------------------> | .-*CURRENT-----------. (3) | '-RCVRNG(--+-*CURCHAIN----------+--)------' '-| RCVRNG Details |-' >--+--------------------------------------------+---------------> | .-*FIRST-------------------. | +-FROMENT(--+-starting-sequence-number-+--)--+ '-FROMTIME(--starting-date--starting-time--)-' >--+---------------------------------------+--------------------> | .-*LAST------------------. | +-TOENT(--+-ending-sequence-number-+--)-+ '-TOTIME(--ending-date--ending-time--)--' >--+---------------------------------+--------------------------> | .-*ALL------------. | '-NBRENT(--+-maximum-entries-+--)-' >--+------------------------------------------------------------+--> | .-*ALL---------------------------------------. | '-JRNCDE(--+-*CTL---------------------------------------+--)-' | .----------------------------------------. | | | .-*ALLSLT---------. | | | V | (4) | (5) | | '---journal-code--+-*IGNFILSLT------+------+-' >--+-------------------------------------+----------------------> | .-*ALL----------------. | '-ENTTYP(--+-*RCD----------------+--)-' | .-----------------. | | V (6) | | '---entry-type------+-' >--+--------------------------------------------------------+---> | .-*ALL--------------------------------------. | '-JOB(--+-+-----------------------------+--job-name-+--)-' '-+-------------+--user-name/-' '-job-number/-' >--+---------------------------+--------------------------------> | .-*ALL---------. | '-PGM(--+-program-name-+--)-' >--+---------------------------+--------------------------------> | .-*ALL------. | '-USRPRF(--+-user-name-+--)-' >--+-------------------------------------------+----------------> | .-*ALL--------------------. | '-CMTCYCID(--+-commit-cycle-identifier-+--)-' >--+-----------------------+--+-----------------------+---------> | .-*ALL--. | | .-*CHAR-. | '-DEPENT(--+-*NONE-+--)-' '-OUTFMT(--+-*HEX--+--)-' >--+----------------------------+-------------------------------> | (7) | '-JRNID(-------journal-ID--)-' >--+--------------------------+---------------------------------> | .-*--------. | '-OUTPUT(--+-*PRINT---+--)-' '-*OUTFILE-' >--+--------------------------------+---------------------------> | (8) .-*TYPE1-. | '-OUTFILFMT(-------+-*TYPE2-+--)-' +-*TYPE3-+ +-*TYPE4-+ '-*TYPE5-' >--+-------------------------------------------+----------------> | .-*LIBL/--------. | '-OUTFILE(--+---------------+--file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------------------------+-----------> | (8) .-*FIRST------. .-*REPLACE-. | '-OUTMBR(-------+-member-name-+--+-*ADD-----+--)-' >--+-------------------------------------------------------------------------+--> | (8) .-*OUTFILFMT--------------------------------------. | '-ENTDTALEN(-------+-*CALC-------------------------------------------+--)-' +-field-length------------------------------------+ | .-*CALC--------. .-*FLDLEN----------. | '-*VARLEN--+-field-length-+--+------------------+-' '-allocated-length-' >--+--------------------------------------------------------------------------+--> | (9) .-*OUTFILFMT--------------------------------------. | '-NULLINDLEN(-------+-*CALC-------------------------------------------+--)-' +-field-length------------------------------------+ | .-*CALC--------. .-*FLDLEN----------. | '-*VARLEN--+-field-length-+--+-allocated-length-+-' >--+----------------------------------+-------------------------> | (10) .-*CONFIRMED-. | '-INCENT(--------+-*ALL-------+--)-' >--+-------------------------+--------------------------------->< | .-*NO--. | '-INCHIDENT(--+-*YES-+--)-' FILE Details .-*LIBL/--------. (2) .-*FIRST------. |--+---------------+--+-*ALL------+--+-*ALL--------+------------| +-*CURLIB/------+ '-file-name-' '-member-name-' '-library-name/-' RCVRNG Details .-*CURRENT--------------------------------. .-*LIBL/--------. | .-*LIBL/--------. | |--+---------------+--start-journal-receiver--+-+---------------+--end-journal-receiver-+--| +-*CURLIB/------+ +-*CURLIB/------+ '-library-name/-' '-library-name/-'
Notes:
- If the *INTSYSJRN value is specified, the JRNID parameter must be specified.
- If *ALL is specified instead of file-name, the format must be library-name/*ALL.
- All parameters preceding this point can be specified in positional form.
- This value is not valid for journal codes D, F, or R.
- A maximum of 16 repetitions.
- A maximum of 300 repetitions.
- The JRNID parameter can be specified only if JRN(*INTSYSJRN) is specified.
- This parameter is valid only if OUTPUT(*OUTFILE) is specified.
- The NULLINDLEN parameter is not valid if OUTFILFMT(*TYPE1), or OUTFILFMT(*TYPE2) is specified.
- This parameter is only valid for a remote journal.