Don't you mean ASXBFTCB Sent from my iPhone
> On Dec 2, 2013, at 8:06 AM, Peter Relson <[email protected]> wrote: > > Two questions > > 1) can BLDL or DESERV differentiate between TASK STEP or JOBLIB > > BLDL does, if you give it a DCB address of 0, returning information in > PDS2LIBF (AKA the "Z byte") which indicates whether this was found in the > LNKLST, joblib/steplib, or the Nth tasklib. DESERV does not support an > input DCB address of 0. Neither BLDL nor DESERV cares what your input DCB > represents if you give it a DCB. Could they "differentiate"? Sure. But so > could you. There is no reason that they should. Their goal is to provide > you information based on the DCB, and that does not require caring what > that DCB is. The only thing that is truly important is to know if the DCB > is for the LNKLST because that DCB is of special formation (such that > DEBCHECK would not succeed). > > Only the initiator (term used loosely to represent all the code that would > handle this) knows if TCBJLB of the ASCBXTCB task represents a joblib or a > steplib. > > 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 > > Since you "recall", I suggest that you look at it to see. Yes, I believe > that you can > determine the data set name using RDJFCB, given an open DCB and the > concatenation number (PDS2CNCT, AKA the "K byte", from BLDL) > > Peter Relson > z/OS Core Technology Design > > ---------------------------------------------------------------------- > 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
