I think that you misunderstand.

No.
Then I misunderstand you then.

Don't confuse random access with direct access.

I don't think I am. I'm not trying to use BDAM. However I am trying to access a direct access storage device with EXCP, non sequentially, i.e randomly. How do you think I'm confusing them?

There is no MCCHHHHR, only an MBBCCHHR.
My typo.

> You're confusing the DCB with the DEB. Take a dump and look at what is in
> each.

Not really. Just my slightly slack language. I'm attempting to open a DCB pointing at one and only one volume, hence the use of the OPEN TYPE=J specifying the JFCBVLSQ field, as described in "DFSMSdfp Advanced Services". The DEB associated with the DCB (there is only one) lists the extents of the dataset I've opened. This is how I'm determining which volume I'm getting when I've opened my DCB and how I determine that I'm getting the wrong one.


The is no TTTR either.
Well there is a TTTR -- I'm creating a TTTR representing where I logically want to access in the volume then convert that to an MBCCHHR to pass to the channel program to read the record off the disk.


using the normal methods.

No; if you were using the normal methods then you wouldn't be having the
problem.

By "normal methods" here I meant using the CVTPCNVT program to convert a TTTR to an MBBCCHHR with reference to a particular DEB. Not sure what you're refering to by "normal methods". The problems aren't related to the conversion of TTTRs to MBCCHHRs, the problems are that the DCB is not "connected" to the right volume.


I don't understand how the 'M' has a bearing on which volume I'm talking to.

Specifying the extent number implicitly specifies the UCB address, which
in turn specifies the volume.
It certainly would if the extents in the DEB where spread across different volumes yes.

However, the point is that when I've opened the DCB the DEB doesn't have the corretly list of extents in it. I open the DCB using OPEN TYPE=J specifying JFCBVLSQ=2 to open the second volume and what I get is a list of extents all of which have UCBs refering to the volume serial number of the first volume. This only happens when I specify DISP=NEW on my dataset. If I preallocate the dataset and declare it DISP=OLD in my JCL, then the process works.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

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

Reply via email to