CPYTOTAP (Copy To Tape) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No .-*LIBL/--------. >>-CPYTOTAP--FROMFILE(--+---------------+--from-file-name--)----> +-*CURLIB/------+ '-library-name/-' .-*LIBL/--------. (1) >--TOFILE(--+---------------+--tape-file-name--)----------------> +-*CURLIB/------+ '-library-name/-' >--+---------------------------------------+--------------------> | .-*FIRST---------------. | '-FROMMBR(--+-*ALL-----------------+--)-' +-from-member-name-----+ '-generic*-member-name-' >--+----------------------------------------+-------------------> | .-*TAPF----------------. | '-TOSEQNBR(--+-*END-----------------+--)-' '-file-sequence-number-' >--+---------------------------------------+--------------------> | .-*FROMMBR-------------. | '-TOLABEL(--+-*TAPF----------------+--)-' +-*NONE----------------+ '-data-file-identifier-' >--+-------------------------------------+----------------------> | .-*TAPF----------------. | | | .------------------. | | | | V (2) | | | '-TODEV(--+---device-name------+-+--)-' >--+-------------------------------------------+----------------> | .-*TAPF----------------------. | '-TOVOL(--+-*NONE----------------------+--)-' | .------------------------. | | V (3) | | '---volume-identifier------+-' >--+------------------------+-----------------------------------> | .-*TAPF-. | '-TOREELS(--+-*SL---+--)-' +-*NL---+ '-*LTM--' >--+---------------------------------+--------------------------> | .-*FROMFILE-----. | '-TORCDLEN(--+-*CALC---------+--)-' +-*TAPF---------+ '-record-length-' >--+--------------------------------+---------------------------> | .-*TAPF--------. | '-TOBLKLEN(--+-*CALC--------+--)-' '-block-length-' >--+-------------------------+----------------------------------> | .-*TAPF-. | '-TORCDBLK(--+-*D----+--)-' +-*DB---+ +-*F----+ +-*FB---+ +-*U----+ +-*V----+ +-*VB---+ +-*VBS--+ '-*VS---' >--+-----------------------------------------+------------------> | .-*TAPF----------------. | '-TOEXPDATE(--+-*PERM----------------+--)-' '-file-expiration-date-' >--+---------------------------+--------------------------------> | .-*TAPF---. | '-TOENDOPT(--+-*REWIND-+--)-' +-*UNLOAD-+ '-*LEAVE--' >--+------------------------------------+-----------------------> | .-*END--------------. | '-NBRRCDS(--+-number-of-records-+--)-' >--+------------------------+---------------------------------->< | .-*TAPF-. | '-COMPACT(--+-*NO---+--)-'
Notes:
- All parameters preceding this point can be specified in positional form.
- A maximum of 4 repetitions.
- A maximum of 50 repetitions.