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 15:03:52


Am 20.03.2015 um 13:57 schrieb S.M.:
> In <550C0FC5.6060800@t-online.de>, on 03/20/2015
>     at 01:17 PM, Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE> said:
>
>> - I could decide, if it is really a DSN that is allocated to this
>> DDNAME  (and not, for example, DD * or SYSOUT)
> There are flags in the TIOT entry to tell you the type of allocation.
> Note; just because it is, e.g., SYSOUT, doesn't mean that there is no
> DSN or that it is not relevant.
>
>> - and: how I could proceed to the other DSNAMEs probably present in
>> the  concatenation
>   3.12.5  Allocation Retrieval List
>
>     The RDJFCB macro uses the DCB exit list entry with code X'13' to
>     retrieve allocation information (JFCBs and volume serial
>     numbers). When you issue RDJFCB, the JFCBs for the specified
>     data sets, including concatenated data sets, and their volume
>     serial numbers are placed in the area located at the address
>     specified in the allocation retrieval list. The DCB exit list
>     entry contains the address of the allocation retrieval list.
>     The RDJFCB macro passes the following return codes in register
>     15:
>
> Or look for blank ddnames following the first TIOT entry you found.
> This second approach has the advantage of not requiring assembler
> code.
>

that is: the order of entries in the TIOT reflects the order of allocations in
the job step? and blank entries following an entry with a DDNAME are
concatenations for this DDNAME?

Super. Thank you very much for this information.

Kind regards

Bernd

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