CPYTODKT (Copy To Diskette) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
                        .-*LIBL/--------.
>>-CPYTODKT--FROMFILE(--+---------------+--from-file-name--)---->
                        +-*CURLIB/------+
                        '-library-name/-'
 
            .-*LIBL/--------.
>--TOFILE(--+---------------+--diskette-file-name--)------------>
            +-*CURLIB/------+
            '-library-name/-'
 
>--+---------------------------------------+-------------------->
   |           .-*FIRST---------------.    |
   '-FROMMBR(--+-*ALL-----------------+--)-'
               +-from-member-name-----+
               '-generic*-member-name-'
 
                                             (1)
>--+---------------------------------------+-------------------->
   |           .-*FROMMBR-------------.    |
   '-TOLABEL(--+-*DKTF----------------+--)-'
               '-data-file-identifier-'
 
>--+----------------------------+------------------------------->
   |         .-*DKTF-------.    |
   '-TODEV(--+-device-name-+--)-'
 
>--+-------------------------------------------+---------------->
   |         .-*DKTF----------------------.    |
   '-TOVOL(--+-*NONE----------------------+--)-'
             | .------------------------. |
             | V                   (2)  | |
             '---volume-identifier------+-'
 
>--+----------------------------+------------------------------->
   |              .-*DKTF--.    |
   '-TOEXCHTYPE(--+-*STD---+--)-'
                  +-*BASIC-+
                  +-*H-----+
                  '-*I-----'
 
>--+-----------------------------------------+------------------>
   |             .-*DKTF----------------.    |
   '-TOEXPDATE(--+-*PERM----------------+--)-'
                 '-file-expiration-date-'
 
>--+------------------------------------+----------------------><
   |           .-*END--------------.    |
   '-NBRRCDS(--+-number-of-records-+--)-'
 
 

Notes:

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

  2. A maximum of 50 repetitions.