On Wed, Mar 9, 2016 at 8:58 AM, Tim Hare <[email protected]>
wrote:

> I've written code (a few years ago) to chase the TIOT to determine if
> there's a DD name present, but it occurred to me that it's a pretty common
> thing to do, so I wonder is there now a callable service to determine if DD
> 'some_dd_name' is present ?
>

​What occurs to me is to just use the RDJFCB with a DCB which has the
proper DD name in it. If R15==0 on return, then the DD exists.​

Or, maybe more correctly today, the GETDSAB macro

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa200/iea3a2_Description7.htm?lang=en


-- 
A fail-safe circuit will destroy others. -- Klipstein

Maranatha! <><
John McKown

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

Reply via email to