gtps1m0v | System Macros |
Use this system macro to change fundamental characteristics of a system operation by changing the first byte of the current program status word (PSW). Input/output (I/O) interrupts, external interrupts, program event recording (PER) interrupts, and the dynamic address translation (DAT) mode may be enabled or disabled.
Format
|
Notes:
The WINDOW parameter stores the system mask, enables the mask keywords specified, and reloads it.
The ENABLE and DISABLE parameters do not reload the system mask. Setting the bits to one/zero enables/disables the associated facilities when the system mask is reloaded by the RESTORE parameter.
These parameters specify the type of masking required with mask keywords. Masking can be specified either by individual keywords or by a list of keywords enclosed within parentheses. Either ENABLE, DISABLE, or both can be specified. The WINDOW and RESTORE parameters cannot be used on the same invocation as the DISABLE and ENABLE parameters. The RESTORE and WINDOW parameters cannot be used together on the same invocation. The mask keywords are:
The ENABLE and DISABLE parameters are mutually exclusive with the RESTORE and WINDOW parameters.
If a null list is specified [for example, WINDOW=()], the parameter is ignored.
If both the ENABLE and DISABLE parameters are specified, the byte following the address specified by SAVEWORK is used as a work area.
Entry Requirements
Return Conditions
The system mask of the current PSW is set to the desired state.
Programming Considerations
Examples
$MASKC DISABLE=(EXT,IO,PER) <uninterruptable code> $MASKC ENABLE=(EXT,IO,PER)
The following invocations disable the PER interrupts and enable the I/O and external interrupts.
$MASKC DISABLE=PER,ENABLE=IO $MASKC ENABLE=EXT
$MASKC DISABLE=(PER),ENABLE=(IO,EXT)
$MASKC RESTORE
$MASKC RESTORE,SAVEWORK=(R5)