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
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:
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