ICL 1900 Series George 3 Operating System Commands

MONRESUME (MR)

Function

Restarts an object program at a REL, DIS, CONT, ALLOT or an open, close or rename mode PERI extracode which has generated a MONITOR event.

Format

  1. MONRESUME STOP,PARAM(a1,a2,... an)

  2. MONRESUME GO,PARAM(a1,a2,... an)

The first parameter specifies whether the job is to return to command level after the monitored instruction has been obeyed. If the parameter is missing, GO is assumed. The a1,a2, ...an are optional parameters to be passed to the object program when it asks for them (see the ENTER command).

Forbidden contexts

NO CORE IMAGE, PROGRAM, BREAK-IN

Execution

The effect of the command is undefined unless:

  1. The current program event is a MONITOR event of one of the categories listed under Function, above.
  2. The monitored instruction and words 8 and 9 are unchanged since that program event.
  3. In the case of the monitor event being generated by a PERI extracode, the type/mode word of the control area is unchanged since that program event.

If these conditions are satisfied, the monitored instruction is re-obeyed with monitoring supressed. If the command parameter is STOP, the job returns to command level generating a program event of category MONITOR with the following message:
    MONRESUME COMPLETED

If the command parameter is GO or is omitted, the program will run on until the next program event. If the monitored instruction was in fact illegal, the MONRESUME command will generate a FAILED program event in the normal way, and if it would normally cause a return to command level it will do so.

The user parameters, composing the second parameter (PARAM) of the command may be read by PERI tpye 60 instructions from the object program.

Examples

MONRESUME GO,PARAM(1,2,3,4)
MONRESUME STOP

Note

It is only when it is required to re-obey the monitored instruction, while supressing monitoring, that MONRESUME need be used: the ENTER and RESUME commands may be used as normal after any monitor event.

Error Messages

ILLEGAL CHANGES TO CORE IMAGE SINCE MONITOR EVENT