SAVSYS (Save System) syntax diagram
Job: I Pgm: I REXX: I Exec Threadsafe: No >>-SAVSYS--DEV(--+-optical-device-name------------+--)----------> +-tape-media-library-device-name-+ | .-----------------------. | | V (1) | | '---tape-device-name------+------' (3) >--+-----------------------------------------+------------------> | .-*MOUNTED-------------------. | | | .------------------------. | | | | V (2) | | | '-VOL(--+---volume-identifier------+-+--)-' >--+----------------------------------+-------------------------> | .-*PERM-----------. | '-EXPDATE(--+-expiration-date-+--)-' >--+-------------------------+----------------------------------> | .-*REWIND-. | '-ENDOPT(--+-*LEAVE--+--)-' '-*UNLOAD-' >--+-------------------------------+----------------------------> | .-*NONE-----------. | | | .-------------. | | | | V | | | '-OMIT(--+---+-*CFG----+-+-+--)-' '-*SECDTA-' >--+--------------------------+---------------------------------> | .-*NONE----. | '-OUTPUT(--+-*PRINT---+--)-' '-*OUTFILE-' >--+---------------------------------------------------------+--> | (4) .-*LIBL/--------. | '-OUTFILE(-------+---------------+--database-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------------------------+-----------> | (4) .-*FIRST------. .-*REPLACE-. | '-OUTMBR(-------+-member-name-+--+-*ADD-----+--)-' >--+-------------------------+--+----------------------+--------> | .-*NONE----. | | .-*DEV-. | '-CLEAR(--+-*ALL-----+--)-' '-DTACPR(--+-*NO--+--)-' +-*AFTER---+ '-*YES-' '-*REPLACE-' >--+-----------------------+--+-------------------------+-------> | .-*DEV-. | | .-*YES-. | '-COMPACT(--+-*NO--+--)-' '-USEOPTBLK(--+-*NO--+--)-' >--+----------------------------------------------------+------>< | .-*ALLAVL----------------------------. | '-ASPDEV(--+-*----------------------------------+--)-' +-*SYSBAS----------------------------+ +-*CURASPGRP-------------------------+ '-auxiliary-storage-pool-device-name-'
Notes: