Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Calling ARCHIVE

&pagelevel(3)&pagelevel

Every user can call ARCHIVE with /START-ARCHIVE or
/START-EXECUTABLE-PROGRAM FROM-FILE=$ARCHIVE.

Whenever ARCHIVE expects input of a statement during program execution, the user can use the HELP statement (see "HELP Display ARCHIVE statements") to request information about the available statements and about the syntax of the individual statements.
A typical ARCHIVE call could look like this:

  1. You call ARCHIVE with

    /START-ARCHIVE
  2. If you do not want to use the default values, you can now use the PARAM statement to select parameter values for this run, e.g.

    PARAM OPERATOR=YES
  3. You then enter FILES and/or JOBVAR statements to specify the files and/or job variables that are to be processed. You may enter several such statements.

  4. You then specify in a single statement how these files and job variables are to be processed. You can SAVE, LIST or RESTORE the files and job variables.

  5. Steps 2 to 4 can be repeated as often as required before ARCHIVE is terminated.

  6. With the K2 key, you can only interrupt the statements INQUIRE and SHOW-DEFAULT.

  7. On completion of processing, you terminate ARCHIVE with END.

ARCHIVE parameters are only used in ARCHIVE statements if the operand corresponding to the parameter is not specified in the statement. (see “Underlining”, "Metasyntax").
In the syntax representation, the presetting for the parameters is specified as the default value (see "SHOW-DEFAULT Display the default parameter settings"). The value for the parameter can differ from the presetting if the parameter file is altered, see below.

You can also call ARCHIVE with the ARCHIVE macro (see chapter "ARCHIVE macro").