If I write an assembler service routine I'll probably have it do a lot more 
than that.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Steve Beaver <0000050e0c375a14-dmarc-requ...@listserv.ua.edu>
Sent: Saturday, December 30, 2023 2:04 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Checking status of multiple datasets in CLIST and REXX

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

----------------------------------------------------------------------
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