Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Loading and unloading ARCHIVE

&pagelevel(3)&pagelevel

The privileged part of ARCHIVE can be loaded in two different ways:

  • Systems support (SUBSYSTEM-MANAGEMENT privilege) or the operator can explicitly load the subsystem ARCHIVE with

    /START-SUBSYSTEM ARCHIVE
  • All users can load ARCHIVE

    • by calling the TU program with

      /START-ARCHIVE
    • with the command

      /START-EXECUTABLE-PROGRAM FROM-FILE=$ARCHIVE

      (also, for reasons of compatibility: /START-PROGRAM $ARCHIVE)

    • or by calling the ARCHIVE macro (see chapter "ARCHIVE macro").

    The TU program is a load module which calls up the privileged part of ARCHIVE via SVC and loads it dynamically if required. However, only the first executable ARCHIVE statement (e.g. STATUS, EXPORT, SAVE etc., but not END, PARAM, FILES and HELP) loads the privileged part of ARCHIVE. In this way, the subsystem is only loaded when it is actually required by the user.

During the load process, object corrections are incorporated from the file SYSREP.ARCHIVE.<ver>.

ARCHIVE is unloaded by systems support (SUBSYSTEM-MANAGEMENT privilege) or the operator with

/STOP-SUBSYSTEM ARCHIVE

ARCHIVE is not unloaded until all ARCHIVE jobs started before the subsystem was deleted have terminated. ARCHIVE can then be loaded again in the same BS2000 session. The ARCHIVE version can therefore be changed during the current session, or new object corrections can be incorporated.