On Thu, 13 Aug 2009 17:44:32 -0500 "Patrick O'Keefe" <[email protected]> wrote:
:>On Thu, 13 Aug 2009 16:58:21 -0500, Paul Gilmartin :><[email protected]> wrote: :>>My understanding/conjecture is that when the Assembler :>>(for example), using BPAM, encounters a COPY nested :>>within another COPY member, it: :>>o Does a NOTE to mark the current block. :>>o Saves the NOTE word _and_ the offset of the current :>> source record relative to that block :>>o Does a FIND to open the referenced member. :>>At the end of that member, it reverses the process :>>with a POINT and displacing to the saved offset. :>>If the motivation of Q*AM is to make blocking and :>>unblocking transparent to the program, the putative :>>QNOTE would need to save both the TTR and the record :>>offset in an opaque data object. QPOINT would need :>>to employ both. :>>... :>Ok. I agree. A Q*AM version of NOTE and POINT would have to :>include record number or block offset or some such (just as that :>info has to be added to the NOTE data by a B*AM program). As most QSAM programs pay not attention to blocks, and that their data files are more freely available for reblocking, the results of the NOTE would have to be a relative record number and not a TTR+RecordOffset. The system would have to calculate a TTR from it - which may require reading the entire dataset (also for POINT) up to there to make sure there ain't no short blocks. :>All those about to submit a formal request for QPAM should take :>note (so to speak). -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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

