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:

  1. All parameters preceding this point can be specified in positional form.

  2. A maximum of 300 repetitions.