ONXARCHIVE Save Files ARCHIVE

ONXARCHIVE stmt [PARAM param ]

A DO procedure for an ARCHIVE run is created.

stmt ARCHIVE process statement e.g. E[XPORT], S[AVE].

param additional parameters for the ARCHIVE run. When these parameters are specified, the standard parameters normally used by CFS - PARAM CNS=NO, UNLOAD=YES,STREAM=YES - are not set, and must be specified explicitly.

After the procedure has been created, the user is asked whether this procedure should be run in dialog or enter mode, or not at all (only create the procedure).

If the DO procedure is run in dialog, CFS executes a DO command, and thus ends the program.

Running the DO procedure in Enter mode will be achieved via the Job Report System, i.e. the user is automatically notified with the SYSOUT listing on screen after the Enter job terminates.

Examples:

ONXARCHIVE E L=SYSOUT,TAPES=888888

ONXARCHIVE S  NOW=NO,CH=NO,ER=YES,TAPES=123456 PARAM CAT-ID=YES,UNLOAD=YES,STREAM=YES

Note:

Using the PARAM CAT-ID=YES option, ARCHIVE will not save the cat-ids with the file names. If the file list was created using an FSTAT command (FILENAME-SELECT : FSTAT ...), then the files will normally be displayed in the form: :x:$uid.filename. Specifying the NOC (NO Cat-ID) User Option will cause the cat-ids to be omitted.