DUPTAP (Duplicate Tape) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-DUPTAP--FROMDEV(--device-name--)-----------------------------> (1) >--TODEV(--device-name--)---------------------------------------> >--+---------------------------------------------+--------------> | .-*MOUNTED-------------------. | | | .------------------------. | | | | V (2) | | | '-FROMVOL(--+---volume-identifier------+-+--)-' >--+-------------------------------------------+----------------> | .-*MOUNTED-------------------. | '-TOVOL(--+-*FROMVOL-------------------+--)-' | .------------------------. | | V (2) | | '---volume-identifier------+-' >--+---------------------------------+--------------------------> | .-*DEVTYPE-----. | '-TODENSITY(--+-*CTGTYPE-----+--)-' '-tape-density-' >--+----------------------------+--+------------------------+---> | .-*FROMFILE-. | | .-*ALL----. | '-COMPACT(--+-*YES------+--)-' '-FILES(--+-*ACTIVE-+--)-' '-*NO-------' >--+--------------------------------------------------------------------+--> | .-*FIRST---------------. .-*LAST----------------. | '-FROMSEQNBR(--+-*ALL-----------------+--+-*ONLY----------------+--)-' '-file-sequence-number-' '-file-sequence-number-' >--+----------------------------------------+-------------------> | .-*FROMSEQ-------------. | '-TOSEQNBR(--+-*END-----------------+--)-' '-file-sequence-number-' >--+---------------------------------------------------------------+--> | .-*SYSCOPY-----------------------------------. | '-USRLBLPGM(--+-*NONE--------------------------------------+--)-' | .-*LIBL/--------. | '-+---------------+--user-label-program-name-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | .-*REWIND-. | '-FROMENDOPT(--+-*UNLOAD-+--)-' '-*LEAVE--' >--+---------------------------+--+---------------------+-------> | .-*UNLOAD-. | | .-*YES-. | '-TOENDOPT(--+-*REWIND-+--)-' '-CHECK(--+-*NO--+--)-' '-*LEAVE--' >--+----------------------------------+------------------------>< | .-*FROMFILE-------. | '-EXPDATE(--+-*PERM-----------+--)-' '-expiration-date-'
Notes: