Calling a card reader *CALL,CR

Function

Use the *CALL,CR command to invoke the card reader support function. If the K parameter is specified on the *CALL or *START command, the reader remains active at end-of-file (EOF), and reading resumes each time the reader is made ready. This is referred to as a hot reader.

During initialization, a remote reader on a programmable work station can be an automatic reader. This means that when the reader is made ready, a call for CR is issued. CR may not be called for a reader on a remote nonprogrammable workstation. In this case, RJP issues the call when the remote reader is ready to send cards.

Syntax

Read syntax diagramSkip visual syntax diagram
                     .-,--IN--=--(--RDR--)----------------.   
>>-+-*CALL-+--,--CR--+------------------------------------+----->
   '-*X----'         '-,--IN--=--+-devname--------------+-'   
                                 +-+---+--devnum--------+     
                                 | '-/-'                |     
                                 +-(--type--)-----------+     
                                 +-(--type--,--group--)-+     
                                 '-(--,--group--)-------'     

   .-,--B--=--10--.            .-,--NAV--=--R-.   
>--+--------------+--+------+--+--------------+----------------->
   '-,--B--=--nnn-'  '-,--C-'  '-,--NAV--=--C-'   

   .-,--P--=--15-.  .-,--PARMID--=--01-.  .-,--HN-.   
>--+-------------+--+------------------+--+-------+------------->
   '-,--P--=--nn-'  '-,--PARMID--=--xx-'  '-,--H--'   

   .-,--KN-.   
>--+-------+---------------------------------------------------><
   '-,--K--'   

Parameters

IN=
Specifies the source from which the job input is to be read. If omitted, (RDR) is assumed.
devname or devnum or /devnum
Specifies the device (by name or by 3-digit or 4-digit hexadecimal number) from which the input jobs are to be read. A slash (/) preceding the device number is not required. Device numbers can be specified by any of the following formats:
ddd dddd /ddd /dddd
where ddd and dddd represent the device numbers.
type
Specifies the type of reader. This keyword can be omitted or specified as IN=(RDR). RDR2501, RDR2540, RDR3505, and xxx3525 are type entries when a specific type of card reader is to be used. In the case of the 3525, any three alphabetic characters can precede the numerals. The type and group entries must always be enclosed in parentheses.
group
Specifies the specific group of devices to which the card reader has been assigned and typically refers to its physical location. (For example, FLOOR1 and FLOOR2 might be group names used.) If the type parameter is omitted, you must use the comma before the group entry. The type and group entries must always be enclosed in parentheses.
B=10 or nnn
Specifies the size of the job batches created by this reader; that is, the number of jobs to be read from the reader and placed on the spool device. The default is 10. Valid values are 1 through 255.
C
Specifies that the card image is to be enabled. This parameter must be specified if the cards to be read are in column binary format (or data mode 2).
H or HN
Specifies whether the JES3 control-card processor job is to be put in the hold state (H) or allowed to process the jobs after the batch has been created (HN).
Note: To release a job held by the H parameter, issue an *F,J=jobno,R command.
K or KN
Specifies whether the designated reader is to be kept active (K) when an EOF condition occurs or is to be allowed to purge (KN).
Note: The K parameter is ignored if input is from a BSC RJP device. The BSC RJP reader is automatically started by making it ready. This parameter is only valid for an SNA RJP device.
NAV=R or C
Specifies the action to be taken if the designated input device is in use or otherwise unavailable. R specifies that JES3 hold the reader job (CR) until the device becomes available and then reschedule it for action. C specifies that the *CALL command is to be ignored and the reader function canceled if no device is currently available.
P=nn
Specifies the scheduling priority (00-15) of the control-card processor job (without affecting the priorities of the individual jobs being read in). The default is 15. Valid values are 00 through 15.
PARMID=01 or xx
Specifies the set of converter/interpreter (C/I) options to be used by all jobs that are read in through this reader.

Examples

Call card reader 00C with five jobs to each control-card processor job. Keep the card reader active at the EOF.
*CALL,CR,IN=00C,B=5,K
Call reader RD1 with default batching, use the C/I option set 05, and keep the card reader active at the EOF.
*X,CR,IN=RD1,K,PARMID=05