If you are looking for C code to do this I can provide it privately. It's pure
C code -- no call out to assembler.
static bool IsDDdefined(const char ddname[9]);
Actually, there is nothing to it:
return (GetTIOT(ddname) != NULL);
but obviously there is the issue of GetTIOT
static tiot* GetTIOT(const char ddname[9]);
which has a little more to it.
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Tim Hare
Sent: Wednesday, March 09, 2016 6:58 AM
To: [email protected]
Subject: Callable service for DD check?
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 ?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN