ICL 1900 Series George 3 Operating System Commands

RESUME (RM)

Function

Restarts an object program (the current core image) or first restores a saved file and then restarts it.

Format

  1. RESUME number,PARAM(a1,a2,... an)

  2. RESUME file description,number,PARAM(a1, a2,...an)

Format 1 is used if there is a current core image and format 2 if a file has first to be restored.

The number indicates the entry point relative to word 0 (not, as in the ENTER command relative to word 20).

The number may be omitted (see Execution, below).

a1,a2,...an are optional parameters to be passed to the object program when it asks for them. These must conform to the rules that govern the formats of all parameters.

Forbidden contexts

NO CORE IMAGE, PROGRAM, BREAK-IN (Format 1)
NO USER, PROGRAM, BREAK-IN (Format 2)

Execution

  1. If the number parameter is missing the object program is re-entered at the next instruction, as given by the contents of word 8. Otherwise the program is entered at the instruction indicated (that is word 8 is reset).
    Format 1, therefore, apart from that way it treats word 8, is the same as the ENTER command.
    Example
    RESUME PARAM(10,12,14)
  2. The saved file is restored, as if by a RESTORE command, and the object program is re-entered as with format 1. Any existing core image will be overwritten.
    Example
    RESUME SAVEFILE,20

When the size of the program is in excess of the object program quota (an installation parameter), then the following message will be output:
    EXECUTION OF YOUR PROGRAM MAY BE DELAYED AS ITS CORE SIZE EXCEEDS THE PROGRAM QUOTA

Error Messages

THIS COMMAND IS NOT ALLOWED IN NO CORE IMAGE CONTEXT (format 1)