On Mon, Mar 01, 2021 at 09:37:57PM -0500, Joseph Reichman wrote: > For NCP do you have to have a counter of the number of reads you do > till you do a check
Yes, but since you need a separate DECB for each read I'd create the DECB's after open based on the NCP value. And then the "availablity" of a not in use DECB would control the number of outstanding READs. I strongly suspect that a good BSAM implementation isn't going to be faster than QSAM. QSAM can queue reads for more than one block. See the DCB keyword BUFNO (and JCL DD DCB subparm BUFNO). PS: I'd suggest using GET Locate mode (MACRF=GL) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
