CHGJRN (Change Journal) Command
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: Yes .-*LIBL/--------. (1) >>-CHGJRN--JRN(--+---------------+--journal-name--)-------------> +-*CURLIB/------+ '-library-name/-' (3) >--+-------------------------------------------------------+-------> | (2) .-*SAME----------------------------. | '-JRNRCV(-------+-*GEN-----------------------------+--)-' | .-*LIBL/--------. | '-+---------------+--receiver-name-' +-*CURLIB/------+ '-library-name/-' >--+----------------------------------+-------------------------> | .-*CONT-------. | | (2) | (4) | | '-SEQOPT(-------+-*RESET------+--)-' >--+--------------------------------------------------------+---> | .-*SAME------------------------------------. | | | .-*LIBL/--------. | | '-MSGQ(--+-+---------------+--journal-message-queue-+--)-' +-*CURLIB/------+ '-library-name/-' >--+---------------------------------------+--------------------> | (2) .-*SAME------------. | '-MNGRCV(-------+-*USER------------+--)-' | (4) (5) | '-*SYSTEM----------' >--+----------------------------+-------------------------------> | (6) .-*SAME-. | '-DLTRCV(-------+-*NO---+--)-' '-*YES--' >--+-----------------------------------------------------------+--> | .-*SAME-----------------------------. | | (2) | (4) | | '-RCVSIZOPT(-------+-*NONE-----------------------------+--)-' | .-------------------------. | | V (4) | (10) | '---+-*RMVINTENT----------+-+-------' | (4) (7) | +-*MINFIXLEN----------+ | (4) (8) | +-*MAXOPT1------------+ | (4) (9) | '-*MAXOPT2------------' >--+----------------------------------------------+-------------> | .-*SAME----------------. | | (11) | (12) (13) | | '-JRNSTATE(--------+-*ACTIVE--------------+--)-' | (12) (14) | +-*INACTIVE------------+ | (12) (13) | '-*STANDBY-------------' >--+----------------------------------------------------+-------> | .-*SAME----------------------. | | (2) | (4) | | '-MINENTDTA(-------+-*NONE----------------------+--)-' | .------------------. | | V (4) | (15) | '---+-*FILE--------+-+-------' | (4) | '-*DTAARA------' >--+-----------------------------------+------------------------> | (2) .-*SAME------. | '-JRNCACHE(-------+-*NO--------+--)-' | (16) | '-*YES-------' >--+----------------------------------------------------+-------> | (2) .-*SAME----------------------. | '-MNGRCVDLY(-------+-manage-receiver-delay-time-+--)-' >--+-----------------------------------------------+------------> | .-*SAME----------------------. | '-DLTRCVDLY(--+-delete-receiver-delay-time-+--)-' >--+--------------------------------------------------------+---> | .-*JOBUSRPGM------------. | | | .-------------. | | | (7) (2) (17) | V | (18) | | '-FIXLENDTA(----------------+---+-*JOB----+-+-------+--)-' +-*USR----+ +-*PGM----+ +-*PGMLIB-+ +-*SYSSEQ-+ +-*RMTADR-+ +-*THD----+ +-*LUW----+ '-*XID----' >--+---------------------------------+------------------------->< | .-*SAME-------------. | '-TEXT(--+-*BLANK------------+--)-' '-'--description--'-'
Notes:
- All parameters preceding this point are key parameters.
- This parameter cannot be specified if this is a remote journal.
- All parameters preceding this point can be specified in positional form.
- This value is not valid when JRNRCV(*SAME) is specified.
- A threshold value must have been specified on the Create Journal Receiver (CRTJRNRCV) command to specify MNGRCV(*SYSTEM).
- The DLTRCV parameter can be specified only if MNGRCV(*SYSTEM) is specified or if the journal currently has the MNGRCV(*SYSTEM) attribute, or if the journal is a remote journal.
- FIXLENDTA can not be specified if *MINFIXLEN is also specified or if the journal currently has RCVSIZOPT(*MINFIXLEN).
- This value cannot be specified if *MAXOPT2 is specified, or if the journal currently has RCVSIZOPT(*MAXOPT2).
- This value cannot be specified if *MAXOPT1 is specified, or if the journal currently has RCVSIZOPT(*MAXOPT1).
- A maximum of 3 repetitions.
- This parameter cannot be specified if the journal-name starts with a Q, and the journal-library starts with a Q, unless that library is QGPL.
- This value is only valid when JRNRCV(*SAME) is specified.
- This value cannot be specified if this is a remote journal.
- If this value is specified for a remote journal, the remaining parameters except for JRN, must specify *SAME.
- A maximum of 2 repetitions.
- This value cannot be specified if the journal-name starts with a Q, and the journal-library starts with a Q, unless that library is QGPL.
- This parameter is not valid when JRNRCV(*SAME) is specified.
- A maximum of 9 repetitions.