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:

  1. All parameters preceding this point are key parameters.

  2. This parameter cannot be specified if this is a remote journal.

  3. All parameters preceding this point can be specified in positional form.

  4. This value is not valid when JRNRCV(*SAME) is specified.

  5. A threshold value must have been specified on the Create Journal Receiver (CRTJRNRCV) command to specify MNGRCV(*SYSTEM).

  6. 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.

  7. FIXLENDTA can not be specified if *MINFIXLEN is also specified or if the journal currently has RCVSIZOPT(*MINFIXLEN).

  8. This value cannot be specified if *MAXOPT2 is specified, or if the journal currently has RCVSIZOPT(*MAXOPT2).

  9. This value cannot be specified if *MAXOPT1 is specified, or if the journal currently has RCVSIZOPT(*MAXOPT1).

  10. A maximum of 3 repetitions.

  11. 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.

  12. This value is only valid when JRNRCV(*SAME) is specified.

  13. This value cannot be specified if this is a remote journal.

  14. If this value is specified for a remote journal, the remaining parameters except for JRN, must specify *SAME.

  15. A maximum of 2 repetitions.

  16. 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.

  17. This parameter is not valid when JRNRCV(*SAME) is specified.

  18. A maximum of 9 repetitions.