Perhaps I has missed something here.

 

>From what I can glean form the posts to date, Joe seeks to display a set of
messages from an area  of memory to the SNAP dataset, for which a DCB has
been defined as per the manual.

 

A BSAM WRITE is used to add records to the dataset looping until "Last
Message" is detected and written.

 

Many moons ago, when I developed the odd bit of code and had a similar
requirement, I did not use BSAM WRITE.  Having set up a SNAP DCB (using
values that I would never have contemplated unless instructed), I then used
the SNAP macro using the STORAGE operand and let IBM code do the rest.  Yes,
I got a lot of stuff that I did not need as part of the SNAP process, but it
served my purpose in that the storage was displayed (and I didn't have to
worry about RDWs, BDWs and Blocks).

 

My view was that since the code was of a temporary nature I did not want to
focus a lot of time on it - preferring to concentrate on the actual
application.  To that end, SNAP was most helpful.

 

Mike Kerford-Byrnes

   


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to