SAVS36F (Save System/36 File) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-SAVS36F--FROMFILE(--+-*ALL---------------+--)----------------> +-generic*-file-name-+ '-file-name----------' >--FROMLIB(--library-name--)------------------------------------> (2) >--DEV(--+-*PHYFILE-------------+--)----------------------------> | .------------------. | | V (1) | | '---device-name------+-' >--+---------------------------+--------------------------------> | .-*ALL-------. | '-GROUP(--+-*NONE------+--)-' '-group-name-' >--+-----------------------------+------------------------------> | .-#SAVE----------. | '-SET(--+-set-identifier-+--)-' >--+-------------------------+----------------------------------> '-TOLABEL(--file-label--)-' >--+-------------------------------------+----------------------> | .-*LAST--------------. | '-CRTDATE(--+-*ALL---------------+--)-' '-file-creation-date-' >--+--------------------------------------+---------------------> | .-*END-----------------. | '-SEQNBR(--+-file-sequence-number-+--)-' >--+-----------------------------------------+------------------> | .-*MOUNTED-------------------. | | | .------------------------. | | | | V (3) | | | '-VOL(--+---volume-identifier------+-+--)-' >--+----------------------------------+-------------------------> | .-1----------------. | '-RETAIN(--+-retention-period-+--)-' >--+-------------------------+--+----------------------+--------> | .-*REWIND-. | | .-*NO--. | '-ENDOPT(--+-*LEAVE--+--)-' '-DTACPR(--+-*YES-+--)-' '-*UNLOAD-' >--+------------------------------------------------+-----------> | (4) .-*LIBL/--------. | '-PHYFILE(-------+---------------+--file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+----------------------------+------------------------------>< | .-*NOREPLACE-. | '-MBROPT(--+-*REPLACE---+--)-'
Notes:
- A maximum of 4 repetitions can be specified if the device named is a tape device. Repetitions are not valid for a diskette device.
- All parameters preceding this point can be specified in positional form.
- A maximum of 50 repetitions.
- PHYFILE required if DEV(*PHYFILE) is specified.