If checking for a certain DD name is really all that you need
then the easiest and fastest method IMHO is a very small ASSEMBLER (or C or PL/1) routine
which scans the TIOT (Task I/O table) for this DD name.
The ASSEMBLER version is the easiest and shortest (and fastest); only five to seven machine instructions. But you can do it in C or PL/1, too. It is not very complicated, but it does not look very good in these languages (especially in PL/1, C is better). If you want, I could send you the code (offline).

Kind regards

Bernd


Am 22.08.2024 um 20:33 schrieb Billy Ashton:
Well, there were a lot of interesting comments and ideas here. My needs are pretty simple - check to see if the DD statements I need are defined in my job before I try to read or write them.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to