Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Statement input format

&pagelevel(3)&pagelevel

Your input to ARCHIVE may consist of several statements, which must be separated from each other by at least one blank. The total length of the input may not exceed 1,000,000 characters.

When defining a save or restoration run the statements must be entered in the following order:

  1. a PARAM statement (optional)

  2. one or more FILES and/or JOBVAR statements

  3. a statement involving I/O operations on save volumes (e.g. SAVE or RESTORE)

This series of statements is organized into an internal representation by ARCHIVE. If this causes the input area to be exceeded, message ARC0121 is issued.

If an error is made when entering the statements, the FILES and JOBVAR statements must also be reentered when the correction is made.


Example 1

FILES NA=FAR.E     EXPORT NOW=YES,TAPES=WORK01
1st statement      2nd statement

Each statement begins with the statement name (e.g. FILES). This must be followed by at least one blank. The operands must be separated by commas. You may omit the comma after a right parenthesis except before the DEVICE operand in a FILES statement.


Example 2

EXPORT        NOW=YES,TAPES=WORK01
Operation     Operands     

Each line entered may contain extra blanks, in any position except in file names or keywords (e.g. TAPES).

The operands may be in any order.

The specifications YES and NO can always be shortened to Y and N.

Continuation of statements

In interactive mode, input can be continued on the next line without the need for a continuation character.
If SYSDTA is not allocated to a terminal (but to a SAM or ISAM file or a floppy disk), any statement may be continued in the next line if the line to be continued ends with one of the following characters:

  • a hyphen “-” in column 72

  • a comma “,” or an equals sign “=” as the last character in an input line

  • a right parenthesis “)” as the last character in an input line of a FILES or JOBVAR statement.

A comment is written in quotes (" "). Like the statement characters, the inverted commas come before column 73.
You can also include comments in statements wherever blanks are permitted. A comment can comprise several lines.

If SYSDTA is not assigned to a terminal, all characters in columns 73-80 are ignored.