> -----Original Message----- > From: IBM Mainframe Discussion List On Behalf Of McKown, John > > > -----Original Message----- > > From: IBM Mainframe Discussion List On Behalf Of David Logan > > > > > > I'll try to make changes to have only one active STARTBR, but keep in > > mind that ENDBR has no parameter that ties itself to a particular > > STARBR. This means that if you follow the logic, then an ENDBR would
> > release > > (potentially) hundreds of strings, of which only one is immediately > > available to the impending READNEXT/READPREV, which also has no > > parameter that ties itself to a particular STARTBR. > > Not true. Look at the REQID parameter. And a STARTBR in a > particular transaction is independant of all other > transactions' STARTBR request(s). So the ENDBR in a > transaction refers to the __single__ STARTBR in that > transaction. Or the STARTBR in the same transaction with the > corresponding REQID parameter, if any is specified. REQIDs > are unique only within a given transaction. For completeness, it should be noted that FILE() can also be specified on ENDBR, so that multiple files can be browsed concurrently within the same transaction. -jc- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html