CPYPTF (Copy Program Temporary Fix) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-CPYPTF--LICPGM(--licensed-program--)-------------------------> >--FROMDEV(--+-*SERVICE-------------+--)------------------------> +-*SAVF----------------+ +-diskette-device-name-+ +-tape-device-name-----+ '-optical-device-name--' >--TODEV(--+-*SAVF----------------+--)--------------------------> +-diskette-device-name-+ +-tape-device-name-----+ '-optical-device-name--' (2) >--+-SELECT(--+-*ALL----------------+--)-+----------------------> | | .-----------------. | | | | V (1) | | | | '---PTF-number------+-' | | .-----------------. | | V (1) | | '-OMIT(----PTF-number------+--)-------' >--+------------------------------------------------------+-----> | (3) .-*LIBL/--------. | '-FROMSAVF(-------+---------------+--save-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------------------+-----------------> | (4) .-*SEARCH---------. | '-FROMSEQNBR(-------+-sequence-number-+--)-' >--+----------------------------------+-------------------------> | (4) .-*REWIND-. | '-FROMENDOPT(-------+-*LEAVE--+--)-' '-*UNLOAD-' >--+------------------------------------------+-----------------> | .-*FIRST----------. | | (5) | (6) | | '-FROMPATHID(-------+-*SELECT---------+--)-' '-path-identifier-' >--+---------------------------------------+--------------------> | (7) .-*MOUNTED----------. | '-TOVOL(-------+-volume-identifier-+--)-' >--+----------------------------------------+-------------------> | (8) .-*END------------. | '-TOSEQNBR(-------+-sequence-number-+--)-' >--+--------------------------------+---------------------------> | (8) .-*REWIND-. | '-TOENDOPT(-------+-*LEAVE--+--)-' '-*UNLOAD-' >--+-----------------------------------------------+------------> | .-*LIBL/--------. | '-TOSAVF(--+---------------+--save-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+---------------------------+--+---------------------+-------> | (9) .-*NONE-. | | .-*YES-. | '-CLEAR(-------+-*ALL--+--)-' '-COVER(--+-*NO--+--)-' >--+---------------------------------------+--------------------> | (10) .-*ONLY--------. | '-CVRLTRLNG(--------+-feature-code-+--)-' >--+----------------------+--+----------------------------+---->< | .-*DEV-. | | .-*ONLY---------. | '-DTACPR(--+-*NO--+--)-' '-RLS(--+-release-level-+--)-' '-*YES-'
Notes:
- A maximum of 50 repetitions on either the SELECT or the OMIT parameter.
- All parameters preceding this point can be specified in positional form.
- FROMSAVF can only be used with FROMDEV(*SAVF).
- SEQNBR parameters can only be used when the corresonding DEV parameter specifies a tape.
- FROMPATHID applies only when FROMDEV is an optical device.
- FROMPATHID(*SELECT) is not valid in a batch environment.
- TOVOL applies only to tape, diskette or optical media.
- FROMENDOPT and TOENDOPT apply only when corresponding DEV parameter is a tape device or optical device.
- CLEAR can be used only when TODEV(*SAVF) is specified.
- CVRLTRLNG(feature-code) can be used only when COVER(*YES) and FROMDEV(*SERVICE) are specified.