Yes, my present solution only delivers the first DSN,
which was sufficient given the needs of the project in the past
(it was clear there, that there was always only one dataset allocated
to the interesting DDNAME).

I get the JFCB address from the SWA token in the TIOT (after locating
the entry with the specified DDNAME) using SWAREQ, and if I read my
coding correctly, this JFCB address points directly to the (first) DSNAME.

Maybe someone could point out, how

- I could decide, if it is really a DSN that is allocated to this DDNAME (and not,
for example, DD * or SYSOUT)

- and: how I could proceed to the other DSNAMEs probably present in the concatenation

No need of source code; some kind of description would be sufficient.
I believe, that it should be possible to do the rest in C again, no ASSEMBLER needed.

Thank you, kind regards

Bernd



Am 20.03.2015 um 12:59 schrieb Steve Thompson:
Something to keep in mind which I haven't seen mentioned.

What happens if there is a concatenation? Will you only report the first DSN for the DDName?

Regards,
Steve Thompson


On 03/19/2015 06:55 PM, Scott Ford wrote:
Thanks Bernd, Sam I am looking at the SVC99() call you in C

On Thursday, March 19, 2015, Bernd Oppolzer <[email protected]>
wrote:

I have a piece of ASSEMBLER code somewhere that does this;
if you wish, you could send me offline mail, so I could search my archives and see if I find it. I recall that it was no big deal, when I did it ca.
15 or 20 years ago. After locating the DDNAME in the TIOT,
it used SWAREQ, IIRC, to find the corresponding DSNAME.

Kind regards

Bernd

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to