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?

    - Thanks -
  - 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

Reply via email to