Halting a card reader *CANCEL,CR
Function
Use the *CANCEL,CR command to immediately halt card reading. Cards still in the hopper are not processed. If this command is used to halt a hot reader, the input is halted but the reader is not deactivated unless the KN parameter is included; therefore the *CANCEL command can also be used to change the parameters specified on the *CALL or *START 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
>>-+-*CANCEL-+--+-,--CR------------+--+-------+--+-------+------> '-*C------' +-,--devname-------+ +-,--HN-+ +-,--KN-+ +-,--+---+--devnum-+ '-,--H--' '-,--K--' | '-⁄-' | '-,--J--=--jobno---' >--+-------------+--------------------------------------------->< '-,--P--=--nn-'
Parameters
- CR or devname or devnum or /devnum, or J=jobno
- Specifies the reader device to be halted. CR is valid when
there is only one card reader. If more than one card reader is currently
active, use devname, devnum, /devnum, or jobno to ensure that the
proper reader is halted. The device number can be a 3-digit or 4-digit
hexadecimal number. A slash (/) preceding the device number is not
required. Device numbers can be specified by any of the following
formats:
where ddd and dddd represent the device numbers.ddd dddd /ddd /dddd
- H or HN
- Specifies that the control-card processor created by the *CANCEL command be placed in hold (H) or allowed to process those jobs already completely entered (HN).
- K or KN
- Specifies that the hot reader remain allocated (K) or be canceled (KN).
- P=nn
- Specifies the scheduling priority of the JES3 control-card processor job being canceled. Valid values are 00 through 15.
Example
Halt the card reader.
*C,CR,H