This document outlines assembly language routines, primarily for a system like a PDP-10, designed for saving and retrieving a job's execution context and data to and from retrievable storage.
The core routines are:
- SGSET: Initializes the device file-name table for both saving and getting commands, including retrieving device and file names from command strings and scheduling monitor jobs.
- SAVJOB: Saves a job area to storage. This routine operates in EXEC mode, uses direct I/O, and saves elements like user UUO handling and a date. Crucially, it explicitly does not save the status of I/O devices, the Program Counter (PC), or Accumulator Save Areas (ACS). The saved job is intended to be restartable from its original starting address.
- GETJOB: Retrieves a previously saved job area from storage. Similar to SAVJOB, it runs in EXEC mode with direct I/O, and does not restore I/O device status, PC, or ACS. It requires core memory to be pre-assigned and specific job data areas (JOBPDP, JOBREL) to be set up, setting the job's starting address to JOBPC.
- SG2 (Termination Routine): Manages the termination process for both save and get operations, handling closing, releasing resources, checking for I/O errors, printing messages, and updating system records.
Additional routines include SG1, which sets up the Program Data (PD) list in the UUO ACS and assigns a device, and SETLST, which configures the dump mode command list in the user area. The document also provides a symbol table listing internal and external symbols used within the code.