Thank you You have been very helpful
Sent from my iPhone > On Dec 2, 2013, at 12:56 AM, Gerhard Postpischil <[email protected]> wrote: > >> On 12/1/2013 2:42 PM, MichealButz wrote: >> 1) can BLDL or DESERV differentiate between TASK STEP or JOBLIB >> 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB >> doing that but that was with EXLST pram on the DCB > > For a closed DCB (or any DD name) you can retrieve the JFCB via TIOT and > SWAREQ lookup, as well as with RDJFCB. However, for a concatenation, you > would need to know which TIOT entry to use. For an open DCB, after a BLDL, > you can examine the PDS2CNCT and PDS2LIBF to see whether the member was found > in a linklib or joblib or in the concatenation (look at the IHAPDS macro and > the documentation). Using the DCBTIOT offset and the concatenation number, > you can get the appropriate JFCB, unless the entry came from a linklib or > joblib (then it's much more difficult, and possibly indeterminate). > > For DESERV, if you look at the IGWDES macro under DESD, you'll find no > documented field for a concatenation number; I'm not aware of a GUPI that > would let you determine either the concatenation number or otherwise locate > the DSN. > > Gerhard Postpischil > Bradford, Vermont > > ---------------------------------------------------------------------- > 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
