Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

ARCHIVE sequence number

&pagelevel(4)&pagelevel

For statements requiring input/output operations on an ARCHIVE file or on a save volume, an ARCHIVE process is created and executed in the privileged part. ARCHIVE reports this with the following message:

%ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'x.yymmdd.hhmmss', VERSION='12.0A'

The process contains an ARCHIVE sequence number (ASN) in the format x.yymmdd.hhmmss, where:

x

specifies the type of ARCHIVE process. “x” may be any of the following:

A (=active)
If the ARCHIVE run is still in progress or has been interrupted.

L (=later)
The ARCHIVE run was defined with NOW=NO and entered in the queue file ARCHIVE.LATER (see section "Batch job from the queue file").

S (=save)
The ARCHIVE run has been completed. S is entered in the directory file as the save version identifier (svid).

yymmdd

date (yy=year, mm=month, dd=day).
ARCHIVE internally converts all two-digit year entries to four-digit entries, which means that there will be no problems at the transition from 1999 to 2000.

hhmmss

time of day (hh=hours, mm=minutes, ss=seconds).

Nonprivileged users have to specify the ARCHIVE sequence number in the DELETE and PROCESS statements to delete or start ARCHIVE processes of type A or L.
Processes of type S, i.e. save versions, can be deleted using PURGE.

Archive writes the Archive sequence number of the last run to the checkpoint file.
The sequence number comprises the current date and time, so must always be greater than the number for the previous run (stored in the checkpoint file). If it is not possible to use the date and time, the new sequence number comprises last sequence number + 1.

The checkpoint file $TSOS.ARCHIVE.CHKPT (or $TSOS.ARCHIVE.CHKPX with HSMS operation for UFS files) is stored in the home pubset in SF environment or in the respective SM pubset in SM environment.