Calling a disk reader *CALL,DR

Function

Use the *CALL,DR command to initiate reading of jobs from a direct-access storage device (DASD).

If the K parameter is specified on the *CALL, *START, or *CANCEL command, the disk reader remains active when an EOF condition is reached, and reading resumes each time an *START command is entered.

Syntax

Read syntax diagramSkip visual syntax diagram
                     .-,--IN--=--(--ANYLOCAL--)-.   
>>-+-*CALL-+--,--DR--+--------------------------+--------------->
   '-*X----'         '-,--IN--=--(--,--group--)-'   

   .-,--B--=--10--.  .-,--HN-.   
>--+--------------+--+-------+---------------------------------->
   '-,--B--=--nnn-'  '-,--H--'   

   .-,--JOBS--=--ALL---------------------------.  .-,--KN-.   
>--+-------------------------------------------+--+-------+----->
   +-,--J--=--jobname--+---------------------+-+  '-,--K--'   
   |                   '-,--JOBS--=--+-nnn-+-' |              
   |                                 '-ALL-'   |              
   '-,--JOBS--=--nnn---------------------------'              

                 .-,--P--=--15-.  .-,--PARMID--=--01-.   
>--,--M--=--mem--+-------------+--+------------------+---------><
                 '-,--P--=--nn-'  '-,--PARMID--=--xx-'   

Parameters

IN=(ANYLOCAL) or (,group)
Specifies the device group to which output should be routed. If omitted, the associated output is routed to printers or punches in the device group ANYLOCAL; this is not desirable if the *CALL,DR command was entered at an RJP console.
B=10 or nnn
Specifies the size of the job batches created by this reader, that is, the number of jobs that are read from the disk and placed on the spool device. The default is 10. Valid values are 1 through 255.
H or HN
Specifies whether the JES3 control-card processor is to be put in the hold state (H) or allowed to process the jobs after the batch has been created (HN). The default is HN.
J=jobname
Specifies the name of the job with which input is to begin. When this parameter is specified, the JOBS= default is changed from ALL to 1.
JOBS=nnn or ALL
Specifies the number of jobs to be read from the input device and placed onto spool devices. ALL permits reading until a physical EOF is reached. When you specify J=jobname (see preceding), the ALL default for JOBS= is changed to 1. The maximum value allowed is 254.
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). Reading is resumed when you enter an *START command. The default is KN.
M =mem
Specifies the member of the disk reader data set that is to be read.
P=15 or nn
Specifies the scheduling priority of the control-card processor job (without affecting the priorities of the individual jobs being read in). Valid values are 00 through 15. The default is 15.
PARMID=01 or xx
Specifies the set of C/I options to be used for all jobs read in through this reader. The value must be the same as the PARMID associated with a CIPARM statement. The default is 01.

Examples

Call a disk reader, read in member ACCT2, and put the control-card processor job in hold.
*X,DR,M=ACCT2,H
Call a disk reader, read in member MONEND, and route the job's output to group VPRES.
*X,DR,M=MONEND,IN=(,VPRES)