APYJRNCHG (Apply Journaled Changes) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*LIBL/--------. (1) >>-APYJRNCHG--JRN(--+---------------+--journal-name--)----------> +-*CURLIB/------+ '-library-name/-' .--------------------------------------------------------------. (2) V .-*LIBL/--------. (3) .-*FIRST------. (4) | >--+-FILE(-----------(--+---------------+--+-*ALL------+--+-*ALL--------+--)------+----)-+--> | +-*CURLIB/------+ '-file-name-' '-member-name-' | | '-library-name/-' | '-+------------------------+----------------------------------------------------------' '-| Object Information |-' >--+----------------------------------------------------------------------------------------------+--> | .-*LASTSAVE--------------------------------------------------------------------. | '-RCVRNG(--+-*CURRENT---------------------------------------------------------------------+--)-' | .-*CURRENT---------------------------. | | .-*LIBL/--------. | .-*LIBL/--------. | | '-+---------------+--starting-receiver--+-+---------------+--ending-receiver-+-' +-*CURLIB/------+ +-*CURLIB/------+ '-library-name/-' '-library-name/-' >--+-------------------------------------------+----------------> | .-*LASTSAVE----------------. | '-FROMENT(--+-*FIRST-------------------+--)-' '-starting-sequence-number-' >--+-----------------------------------------------------------+--> | .-*LASTRST---------------. | +-TOENT(--+-*LAST------------------+--)---------------------+ | '-ending-sequence-number-' | +-TOTIME(--ending-date--ending-time--)----------------------+ +-TOJOBO(----+-----------------------------+--job-name----)-+ | '-+-------------+--user-name/-' | | '-job-number/-' | '-TOJOBC(----+-----------------------------+--job-name----)-' '-+-------------+--user-name/-' '-job-number/-' >--+----------------------+------------------------------------>< | .-*NO--. | '-CMTBDY(--+-*YES-+--)-' Object Information |--+----------------------------------------------------------------------------------------------------+--> | .----------------------------------------------------------------------------------. | | (2) V .-*LIBL/--------. (5) .-*FIRST-----------. (4) | | '-OBJ(---------(--+---------------+--+-*ALL--------+--+-*FILE---+--+-*ALL-------------+--)------+--)-' +-*CURLIB/------+ '-object-name-' '-*DTAARA-' | (6) | '-library-name/-' '-member-name------' >--+------------------------------------------------------------+--> | .--------------------------------------. | | (2) V .-*INCLUDE-. (4) | | '-OBJPATH(---------(--'path-name'--+-*OMIT----+--)------+--)-' >--+-----------------------------+------------------------------> | (7) .-*NONE-. | '-SUBTREE(-------+-*ALL--+--)-' >--+-------------------------------------------------------------------+--| | .---------------------------------------------. | | (7) V .-'*'------------. .-*INCLUDE-. (8) | | '-PATTERN(---------(--+-'name-pattern'-+--+-*OMIT----+--)------+--)-'
Notes:
- All parameters preceding this point can be specified positionally.
- Either the FILE parameter must be specified or the Object Information parameters (OBJ or OBJPATH) must be specified, but not both.
- If *ALL is specified instead of file-name, the format must be library-name/*ALL.
- A maximum of 300 repetitions.
- If *ALL is specified instead of object-name, the format must be library-name/*ALL.
- This field is optional with a default value of *FIRST, if the object type is *FILE, otherwise it is ignored.
- This parameter is valid only if one or more path names were specified on the OBJPATH parameter.
- A maximum of 20 repetitions.