Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

IBM-MAIN - Ermitteln eines DS-Namens zu gegebenem DD-Namen

Subject:

Re: RDJFCB

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>

Date:

2015.03.20 13:17:09


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 S.T.:
> 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,
> S.
>
>
> On 03/19/2015 06:55 PM, S.F. wrote:
>> Thanks Bernd, S., I am looking at the SVC99() call you in C
>>
>> On Thursday, March 19, 2015, Bernd Oppolzer <bernd.oppolzer@t-online.de>
>> 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 listserv@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@listserv.ua.edu with the message: INFO IBM-MAIN

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie