Call ‘ CHECK1’ ‘SYS1.MACLIB, Check1 CSECT Reg1 points to arg MVC. Locat(44), Locate CAMLIST Br 14
Rc=0. DSN exists Rv=4. DSN doesn’t exist Sent from my iPhone No one said I could type with one thumb > On Dec 30, 2023, at 11:33, Binyamin Dissen <bdis...@dissensoftware.com> wrote: > > On Fri, 29 Dec 2023 14:47:29 +0000 Seymour J Metz <sme...@gmu.edu> wrote: > > :>I need to check whether any of a list of datasets exists and whether any of > a list of ddnames is allocated. I'd rather not trap and parse the output of > LISTALC and LISTCAT, and I'd rather not call LISTDSI for each one. Is there a > simple way to do that in REXX, or would it be better to write a small service > routine in assembler? > > :>I don't have a requirement to handle XTIOT. > > The elephant in the room - why? > > Perhaps there is a better way to do what you want. > > As you are worried about performance, it appears to be something that will > need to run quite often. How will you use this information? > > -- > Binyamin Dissen <bdis...@dissensoftware.com> > http://www.dissensoftware.com > > Director, Dissen Software, Bar & Grill - Israel > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN