On Wed, 21 Aug 2024 19:28:12 +0000, Billy Ashton wrote: >Hi all, I have a simple question, but my searches are eluding me (maybe >I don't know what to ask for). > >In my Rexx program, before I try to do an EXECIO against it, I want to >do something to make sure the DD statement is there and control the >error. I tried ListDSI, but that only works on DASD files and not on >instream (DD *) data. > Have you tried BPXWDYN( INFO ... ) <https://www.ibm.com/docs/en/zos/3.1.0?topic=services-bpxwdyn-text-interface-dynamic-allocation-dynamic-output>
ListDSI sorely needs an Idea. >How can I test that I have the ABCXYZ DD statement allocated, if it is >DD * or DD DATA? Likewise, how can I test for DD JKLMNO that is >allocated to SYSOUT=* to be sure it is there (as I am writing via EXECIO >to it)? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN