On Wed, 18 Jul 2012 12:12:13 -0400 Thomas David Rivers <[email protected]>
wrote:

:>I'm debugging a program (no source), and trying to
:>figure out what BDAM does when the READ macro
:>is invoked without a BLKREF relative-block-address
:>specified.

:>This is an RBA-type BDAM, and I'm seeing a READ
:>where the BLKREF in the DECB is simply X'0'.

:>I thought the BLKREF field would point to a location
:>that contained the relative-block-address value.

:>So - what does BDAM do with such a thing - does it
:>read the "next" block (where next would be the one
:>after the current one.)  Or???

:>It doesn't seem to fail/ABEND in anyway... seems to
:>merrily read _something_ - just not sure what.

:>I've looked thru various IBM books, but can't seem to
:>find a definition of what happens when the READ
:>doesn't specify a BLKREF parm.  The BDAM READ
:>documentation doesn't seem to say its optional,
:>but I can slap together an example and leave it off...

:>I suppose my question boils down to:

:>   What does BDAM READ do if the BLKREF macro
:>   parameter is omitted?

What is the second parameter of the read?

--
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: INFO IBM-MAIN

Reply via email to