Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

STATUS Display the status of ARCHIVE processes

&pagelevel(4)&pagelevel

You can use the STATUS statement to check the status of an ARCHIVE process. A process may either be active (A) or it may be in the queue file ARCHIVE.LATER (L) if the operand NOW=NO was specified. It may also already have been partly processed and interrupted by a system crash.

Nonprivileged users can only gain access to information about their own ARCHIVE processes with the STATUS statement. Information about all ARCHIVE processes is only output to users with the TSOS privilege.

You can start processes in the file ARCHIVE.LATER or continue interrupted processes with the PROCESS statement.

The STATUS information is always output to SYSOUT.

STA[TUS]

TYPE = LATER / ACTIVE

[,USER = userid]


TYPE =

This determines which ARCHIVE processes are listed.

TYPE = LATER
All ARCHIVE processes for which NOW=NO has been specified and which have not yet been started are listed.

TYPE = ACTIVE
All ARCHIVE processes which have already been started but not yet terminated are listed. For processes currently being processed the TSN is also output. Processes which have been interrupted can either be continued by means of the PROCESS statement or deleted by means of the DELETE statement.

USER = userid
This only applies to systems support.
If ARCHIVE is called using the TSOS privilege and this operand is not specified, the ARCHIVE processes of all users are listed.
If systems support specifies this operand, information will be output about the ARCHIVE processes of the user IDs entered.


Example

See section "ARCHIVE subtask".