Re: Overlapped I/O completion

2021-03-22 Thread Seymour J Metz
Reichman [reichman...@gmail.com] Sent: Monday, March 22, 2021 11:57 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion So are BUFNO= and GETPOOL/ GETBUF related -- For IBM-MAIN subscribe / signoff / archive access

Re: Overlapped I/O completion

2021-03-22 Thread Joseph Reichman
So are BUFNO= and GETPOOL/ GETBUF related -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Monday, March 22, 2021 11:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion GETPOOL and FREEPOOL are also valid for QSAM

Re: Overlapped I/O completion

2021-03-22 Thread Seymour J Metz
: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion If youre using GETPOOL/GETBUF then youre not doing QSAM. GETBUF is for BSAM. You would be OPENING the file then using READ macros to read in your records. If youre doing QSAM, then you just issue the OPEN followed by a GET. There

Re: Overlapped I/O completion

2021-03-22 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion On Sun, Mar 21, 2021 at 04:54:45PM -0400, Joseph Reichman wrote: > Just to make sure I am understanding correctly I use GETPOOL/GETBUFF > with QSAM it will use Asynchronous/overlapped i/o right ? You should only need DCB/OPEN

Re: Overlapped I/O completion

2021-03-22 Thread Seymour J Metz
, March 21, 2021 5:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion So implementing asynchronous I/O in QSAM is as simple as having BUFNO= the right number -- For IBM-MAIN subscribe / signoff / archive access

Re: Overlapped I/O completion

2021-03-22 Thread Seymour J Metz
ist [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Sunday, March 21, 2021 6:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion Implementing overlapped I/O is what QSAM does. You don't even need to code BUFNO. IMHO it is one of the two main poi

Re: Overlapped I/O completion

2021-03-21 Thread Charles Mills
: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Sunday, March 21, 2021 2:46 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion So implementing asynchronous I/O in QSAM is as simple as having BUFNO= the right number thanks

Re: Overlapped I/O completion

2021-03-21 Thread Joseph Reichman
So implementing asynchronous I/O in QSAM is as simple as having BUFNO= the right number thanks -Original Message- From: IBM Mainframe Discussion List On Behalf Of Michael Stein Sent: Sunday, March 21, 2021 5:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion

Re: Overlapped I/O completion

2021-03-21 Thread Michael Stein
On Sun, Mar 21, 2021 at 04:54:45PM -0400, Joseph Reichman wrote: > Just to make sure I am understanding correctly I use GETPOOL/GETBUFF > with QSAM it will use Asynchronous/overlapped i/o right ? You should only need DCB/OPEN/CLOSE/GET. Let most everything default, QSAM knows what to do for

Re: Overlapped I/O completion

2021-03-21 Thread Joe Monk
> Of Joe Monk > Sent: Sunday, March 21, 2021 1:24 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Overlapped I/O completion > > "The queued access technique provides GET and PUT macro instructions for > transmitting data within virtual storage. These macro instruc

Re: Overlapped I/O completion

2021-03-21 Thread Joseph Reichman
: Re: Overlapped I/O completion "The queued access technique provides GET and PUT macro instructions for transmitting data within virtual storage. These macro instructions cause automatic blocking and deblocking of the records stored and retrieved. Anticipatory (look-ahead) buff

Re: Overlapped I/O completion

2021-03-21 Thread Seymour J Metz
u/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Michael Stein [m...@zlvfc.com] Sent: Saturday, March 20, 2021 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion On Fri, Mar 19, 2021 at 03:35:39PM -0400, Joseph

Re: Overlapped I/O completion

2021-03-21 Thread Seymour J Metz
on behalf of Michael Stein [m...@zlvfc.com] Sent: Saturday, March 20, 2021 11:51 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion On Fri, Mar 19, 2021 at 08:08:28PM -0500, Paul Gilmartin wrote: > On Fri, 19 Mar 2021 21:50:57 +, Seymour J Metz wrote: > > >> Is ther

Re: Overlapped I/O completion

2021-03-21 Thread Paul Gilmartin
On Sun, 21 Mar 2021 10:08:13 -0500, Joel C. Ewing wrote: >Believe it.   > Performance is unsatisfactory. I must do something. BSAM is something. Therefore I must do BSAM. -- gil -- For IBM-MAIN subscribe / signoff / archive

Re: Overlapped I/O completion

2021-03-21 Thread Joe Monk
_ > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf > of Joseph Reichman [reichman...@gmail.com] > Sent: Sunday, March 21, 2021 10:21 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Overlapped I/O completion > > I don’t under

Re: Overlapped I/O completion

2021-03-21 Thread Seymour J Metz
UA.EDU Subject: Re: Overlapped I/O completion I don’t understand what the statement “QSAM does overlapped I/O automatically” When I do a qsam get the physical I/O is for 1 block every get just ups a pointer BSAM allows me to do multiple Reads each with their own DECB So I already initiat

Re: Overlapped I/O completion

2021-03-21 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion Thank you does the number “GET” ahead I/o depend on Buffno -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu

Re: Overlapped I/O completion

2021-03-21 Thread Seymour J Metz
Subject: Re: Overlapped I/O completion Believe it. Even before emulated DASD, MVS QSAM would read multiple blocks with a single channel program to eliminate rotational delays on native DASD and do anticipatory reads for the next set of buffers even while you were still processing records in blocks

Re: Overlapped I/O completion

2021-03-21 Thread Ed Jaffe
On 3/21/2021 7:21 AM, Joseph Reichman wrote: I don’t understand what the statement “QSAM does overlapped I/O automatically” When I do a qsam get the physical I/O is for 1 block every get just ups a pointer QSAM does overlapped I/O (and has done for many, Many, MANY years). If you want to

Re: Overlapped I/O completion

2021-03-21 Thread Tom Harper
Yes. Default varies by type of device. Sent from my iPhone > On Mar 21, 2021, at 11:08 AM, Joel C. Ewing wrote: > > Believe it. > > Even before emulated DASD, MVS QSAM would read multiple blocks with a > single channel program to eliminate rotational delays on native DASD and > do

Re: Overlapped I/O completion

2021-03-21 Thread Joel C. Ewing
Believe it.   Even before emulated DASD,  MVS QSAM would read multiple blocks with a single channel program to eliminate rotational delays on native DASD and do anticipatory reads for the next set of buffers even while you were still processing records in blocks from the previous read, as long as

Re: Overlapped I/O completion

2021-03-21 Thread Joseph Reichman
Thank you does the number “GET” ahead I/o depend on Buffno > On Mar 20, 2021, at 11:31 AM, Michael Stein wrote: > > On Fri, Mar 19, 2021 at 03:35:39PM -0400, Joseph Reichman wrote: >> So this is what I will do >> >> I’ll do 3 reads in the first since i need to get myself going I’ll issue

Re: Overlapped I/O completion

2021-03-21 Thread Tom Harper
From Jim Mulder: Jim Mulder 2/4/17 to There are no coding requirements for the application, When you do a QSAM OPEN for Input, the first read-ahead I/Os are scheduled by OPEN, and the application program can proceed without waiting after the OPEN at least to the point of doing the first

Re: Overlapped I/O completion

2021-03-21 Thread Joseph Reichman
I don’t understand what the statement “QSAM does overlapped I/O automatically” When I do a qsam get the physical I/O is for 1 block every get just ups a pointer BSAM allows me to do multiple Reads each with their own DECB So I already initiate lots of physical I/O mainly because I have lots

Re: Overlapped I/O completion

2021-03-20 Thread Binyamin Dissen
On Fri, 19 Mar 2021 14:09:59 -0400 Joseph Reichman wrote: :>When doing overlapped I/O is there a way to tell if the I/O had completed on the subsequent reads :>I check to see if the first fullword has been populated by the BDW Did you try without overlapping I/O? Post the code. -- Binyamin

Re: Overlapped I/O completion

2021-03-20 Thread Michael Stein
On Fri, Mar 19, 2021 at 08:08:28PM -0500, Paul Gilmartin wrote: > On Fri, 19 Mar 2021 21:50:57 +, Seymour J Metz wrote: > > >> Is there any reason to do a WAIT before the CHECK? > >EOV processing. Normally a CHECK just waits on the ECB and does a minimal amount of processing. If there is

Re: Overlapped I/O completion

2021-03-20 Thread Michael Stein
On Fri, Mar 19, 2021 at 03:58:57PM -0400, Joseph Reichman wrote: > Data is not there after check Most likely reason is that the READ isn't complete yet. Possibly was never issued (yet). BSAM works. It's not as easy to use as QSAM, nor very easy to do overlapped I/O as QSAM (which does it

Re: Overlapped I/O completion

2021-03-20 Thread Michael Stein
On Fri, Mar 19, 2021 at 03:35:39PM -0400, Joseph Reichman wrote: > So this is what I will do > > I’ll do 3 reads in the first since i need to get myself going I’ll issue the > WAIT using the ECB from the DECB Limiting the pending reads to 3 will limit the performance to worse (or at least no

Re: Overlapped I/O completion

2021-03-19 Thread Paul Gilmartin
On Fri, 19 Mar 2021 21:50:57 +, Seymour J Metz wrote: >> Is there any reason to do a WAIT before the CHECK? >EOV processing. > It was long ago and I no longer have the code. IIRC, I coded a CHECK, but never a WAIT. It was specialized code, and I may not have accounted for EOV. What ill

Re: Overlapped I/O completion

2021-03-19 Thread Seymour J Metz
LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion On Fri, 19 Mar 2021 12:43:38 -0700, Ed Jaffe wrote: >On 3/19/2021 12:35 PM, Joseph Reichman wrote: >> So this is what I will do >> >> I’ll do 3 reads in the first since i need to get myself going I’ll issue the >> WAI

Re: Overlapped I/O completion

2021-03-19 Thread Paul Gilmartin
On Fri, 19 Mar 2021 15:58:57 -0400, Joseph Reichman wrote: >Data is not there after check > WTF!? On Fri, 19 Mar 2021 11:25:12 -0700, Ed Jaffe wrote: >On 3/19/2021 11:09 AM, Joseph Reichman wrote: >>... >> I check to see if the first fullword has been populated by the BDW > That's called

Re: Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
Checks checks for eodad Thanks > On Mar 19, 2021, at 4:02 PM, Ed Jaffe wrote: > > On 3/19/2021 12:57 PM, Paul Gilmartin wrote: >>> On Fri, 19 Mar 2021 12:43:38 -0700, Ed Jaffe wrote: >>> >>> >>> Don't forget to issue CHECK after WAIT. >>> >> Is there any reason to do a WAIT before the

Re: Overlapped I/O completion

2021-03-19 Thread Ed Jaffe
On 3/19/2021 12:57 PM, Paul Gilmartin wrote: On Fri, 19 Mar 2021 12:43:38 -0700, Ed Jaffe wrote: Don't forget to issue CHECK after WAIT. Is there any reason to do a WAIT before the CHECK? I never did. You would issue WAIT first if you were in an environment that could not tolerate

Re: Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
Data is not there after check > On Mar 19, 2021, at 3:57 PM, Paul Gilmartin > <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On Fri, 19 Mar 2021 12:43:38 -0700, Ed Jaffe wrote: > >>> On 3/19/2021 12:35 PM, Joseph Reichman wrote: >>> So this is what I will do >>> >>> I’ll do 3

Re: Overlapped I/O completion

2021-03-19 Thread Paul Gilmartin
On Fri, 19 Mar 2021 12:43:38 -0700, Ed Jaffe wrote: >On 3/19/2021 12:35 PM, Joseph Reichman wrote: >> So this is what I will do >> >> I’ll do 3 reads in the first since i need to get myself going I’ll issue the >> WAIT using the ECB from the DECB >> Than when I finish processing that buffer and

Re: Overlapped I/O completion

2021-03-19 Thread Ed Jaffe
On 3/19/2021 12:35 PM, Joseph Reichman wrote: So this is what I will do I’ll do 3 reads in the first since i need to get myself going I’ll issue the WAIT using the ECB from the DECB Than when I finish processing that buffer and need to go to the second I/O I’ll issue a WAIT for that etc

Re: Overlapped I/O completion

2021-03-19 Thread Paul Gilmartin
On Fri, 19 Mar 2021 15:35:39 -0400, Joseph Reichman wrote: >So this is what I will do > >I’ll do 3 reads in the first since i need to get myself going I’ll issue the >WAIT using the ECB from the DECB >Than when I finish processing that buffer and need to go to the second I/O >I’ll issue a

Re: Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > Joseph Reichman [reichman...@gmail.com] > Sent: Friday, March 19, 2021 2:09 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Overlapped I/O completion > > Hi > > When doing overlapped I/O is there a way to tel

Re: Overlapped I/O completion

2021-03-19 Thread Seymour J Metz
of Joseph Reichman [reichman...@gmail.com] Sent: Friday, March 19, 2021 2:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Overlapped I/O completion Hi When doing overlapped I/O is there a way to tell if the I/O had completed on the subsequent reads I check to see if the first fullword has been

Re: Overlapped I/O completion

2021-03-19 Thread Seymour J Metz
] Sent: Friday, March 19, 2021 2:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Overlapped I/O completion On 3/19/2021 11:09 AM, Joseph Reichman wrote: > Hi > > When doing overlapped I/O is there a way to tell if the I/O had completed on > the subsequent reads > > I check to see if

Re: Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
First byte Of DECB/ECB was x’7F’ 40 bit ( posted bit was on ) > On Mar 19, 2021, at 2:25 PM, Ed Jaffe wrote: > > On 3/19/2021 11:09 AM, Joseph Reichman wrote: >> Hi >> >> When doing overlapped I/O is there a way to tell if the I/O had completed on >> the subsequent reads >> >> I check to

Re: Overlapped I/O completion

2021-03-19 Thread Ed Jaffe
On 3/19/2021 11:09 AM, Joseph Reichman wrote: Hi When doing overlapped I/O is there a way to tell if the I/O had completed on the subsequent reads I check to see if the first fullword has been populated by the BDW The DECB that you issue CHECK against contains an actual embedded ECB at

Re: Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
ay, March 19, 2021 2:10 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Overlapped I/O completion > > Hi > > When doing overlapped I/O is there a way to tell if the I/O had completed on > the subsequent reads > > I check to see if the first fullword has been populated

Re: Overlapped I/O completion

2021-03-19 Thread Farley, Peter x23353
PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Overlapped I/O completion Hi When doing overlapped I/O is there a way to tell if the I/O had completed on the subsequent reads I check to see if the first fullword has been populated by the BDW -- This message and any attachments are intended only

Overlapped I/O completion

2021-03-19 Thread Joseph Reichman
Hi When doing overlapped I/O is there a way to tell if the I/O had completed on the subsequent reads I check to see if the first fullword has been populated by the BDW -- For IBM-MAIN subscribe / signoff / archive access