Information about the execution of the ARCHIVE process can be obtained from the settings of job switches in procedures and ENTER jobs.
ARCHIVE sets these switches during or after the run. The setting of a job switch corresponds to a particular message. If, for instance, job switch 30 has been set, the following message is output:
ARC004 ARCHIVE STATEMENT COMPLETED WITH WARNINGS
Message number | Message text | Action taken by ARCHIVE |
|
| The ARCHIVE run has been completed without problems. |
|
| The ARCHIVE run has been completed with warnings; job switch 30 has been set. |
|
| The ARCHIVE run has been completed with errors; job switch 31 has been set. |
|
| The ARCHIVE run has been aborted; the spin-off mechanism has been triggered. |
|
| |
|
|
If a statement is not executed (ARC0006
, ARC0007
, ARC0294
), the spin-off mechanism is triggered, i.e. once ARCHIVE has terminated, all commands up to the next SET-JOB-STEP
or up to the end of the procedure file or ENTER file are skipped.