I'm having some issues with using the OS Simulation macros NOTE and POINT under VM/CMS.
I've been scouring documentation to try and discover just what the CMS differences are... But, at the moment, I'm trying to simply do a BSAM OPEN (for READ)... Then, a NOTE to record the starting TTR of the file... Then - reading the file to the end (with regular BSAM READ+CHECK) Then, a POINT to return to the beginning of the file, using the TTR retrieved from just after the OPEN (with +1 added because the NOTE occurs after OPEN but before any READ.) Then - try and READ the blocks again... What I'm seeing is that the NOTE returns something that "looks like" a TTR. Then, the READs+CHECKs occur that read the file. The POINT supposedly returns us to the begining, but the next READ gets EOD. Clearly - the POINT hasn't worked. And, as you might expect - this approach works just great on z/OS. Does anyone know of any vagaries with the OS simulation of NOTE/POINT? I did see that you can't code TYPE=REL (or TYPE=anything for that matter.) But, I don't really care what the block address is... just that it is the valid block address for the beginning of the file. Thanks for any pointers! - Dave Rivers - -- [email protected] Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
