CHGPGM (Change Program) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-CHGPGM-------------------------------------------------------> (1) .-*USRLIBL/-----. (2) (3) (4) >--PGM(-------+---------------+--+-*ALL------------------+-------)-----------> '-library-name/-' +-program-name----------+ '-generic*-program-name-' >--+------------------------------+-----------------------------> | .-*SAME------. | '-OPTIMIZE(--+-+-*YES-+---+--)-' | '-*NO--' | +-40---------+ +-+-*FULL-+--+ | '-30----' | +-+-*BASIC-+-+ | '-20-----' | '-+-*NONE-+--' '-10----' >--+------------------------+--+--------------------------+-----> | .-*SAME--. | | .-*SAME-. | '-USRPRF(--+-*USER--+--)-' '-USEADPAUT(--+-*YES--+--)-' '-*OWNER-' '-*NO---' >--+--------------------------------------+---------------------> | .-*SAME----------------. | '-RMVOBS(--+-*ALL-----------------+--)-' +-*NONE----------------+ | .-------------. | | V | (5) | '---+-*DBGDTA-+-+------' +-*CRTDTA-+ +-*BLKORD-+ '-*PRCORD-' >--+-------------------------------------------------+----------> | .-*SAME------------------------. | '-ENBPFRCOL(--+-*NONE------------------------+--)-' +-*PEP-------------------------+ | .-*FULL------. .-*ALLPRC--. | '-+-*ENTRYEXIT-+--+-*NONLEAF-+-' >--+----------------------------+-------------------------------> | .-*SAME------. | '-PRFDTA(--+-*NOCOL-----+--)-' +-*COL-------+ +-*CLR-------+ +-*APYBLKORD-+ +-*APYPRCORD-+ '-*APYALL----' >--+--------------------------+--+------------------------+-----> | .-*SAME-. | | .-*NO----. | '-TERASPACE(--+-*NO---+--)-' '-FRCCRT(--+-*YES---+--)-' '-*YES--' '-*NOCRT-' >--+---------------------------------+--------------------------> | .-*SAME-------------. | '-TEXT(--+-*BLANK------------+--)-' '-'--description--'-' >--+------------------------------------------------------+---->< | .-*SAME--------------------------------. | '-LICOPT(--+-*NONE--------------------------------+--)-' '-'--Licensed-Internal-Code-options--'-'
Notes:
- QSYS and QGDDM cannot be specified for the library unless the only change is a removal of observability.
- *ALL or a generic request cannot be specified with *USRLIBL for the library qualifier.
- All parameters preceding this point can be specified positionally.
- All parameters preceding this point are key parameters.
- A maximum of 4 repetitions.