CPYSPLF (Copy Spooled File) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-CPYSPLF--FILE(--spooled-file-name--)-------------------------> .-*LIBL/--------. (1) >--TOFILE(--+---------------+--database-file-name--)------------> +-*CURLIB/------+ '-library-name/-' >--+--------------------------------------------------------+---> | .-*-----------------------------------------. | '-JOB(--+-+-----------------------------+--job-name-+--)-' '-+-------------+--user-name/-' '-job-number/-' >--+-------------------------------------+----------------------> | .-*ONLY---------------. | '-SPLNBR(--+-*LAST---------------+--)-' +-*ANY----------------+ '-spooled-file-number-' >--+------------------------------+-----------------------------> | .-*ONLY-------. | '-JOBSYSNAME(--+-*CURRENT----+-' +-*ANY--------+ '-system-name-' >--+---------------------------------------------------+--------> | .-*ONLY----------------------------. | '-CRTDATE(--+-*LAST----------------------------+--)-' | .-*ONLY---------. | '-creation-date--+-*LAST---------+-' '-creation-time-' >--+----------------------------+-------------------------------> | .-*FIRST------. | '-TOMBR(--+-member-name-+--)-' >--+--------------------------+--+--------------------------+---> | .-*REPLACE-. | | .-*NONE---. | '-MBROPT(--+-*ADD-----+--)-' '-CTLCHAR(--+-*FCFC---+--)-' +-*PRTCTL-+ '-*S36FMT-' >--+------------------------------------------------------------+->< | .-*NORMAL------------------------------------. | | | .----------------------------------------. | | | | V (2) | | | '-CHLVAL(--+---(--channel-number--line-number--)------+-+--)-'
Notes:
- All parameters preceding this point can be specified in positional form.
- A maximum of 12 repetitions.