Halting a disk reader *CANCEL,DR

Function

Use the *CANCEL,DR command to halt disk reading immediately. If this command is used to halt a hot reader, the input is halted but is not deactivated unless the KN parameter is included; thus, the *CANCEL command can also be used to change the parameters specified in an *START or *CALL command.

If an optional parameter is not specified, the value for that parameter defaults to the value specified on the *CALL command or on the most recent *START or *CANCEL command that modified that parameter.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-*CANCEL-+--,--DR--+-------+--+-------+--+-------------+---><
   '-*C------'         +-,--HN-+  +-,--KN-+  '-,--P--=--nn-'   
                       '-,--H--'  '-,--K--'                    

Parameters

H or HN
Specifies that the control-card processor created with the *CANCEL command be placed on hold (H) or allowed to process those jobs already completely entered (HN).
K or KN
Specifies that the hot reader is to remain allocated (K) or completely halted (KN).
P=nn
Specifies the scheduling priority of the JES3 control-card processor job (without affecting the priorities of the individual jobs being read in). Valid values are 00 through 15.

Example

Cancel disk reading immediately, and spool the remaining control-card processor job at priority 10.
*C,DR,P=10