I've never tried it, but it should. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Wednesday, August 21, 2024 6:16 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Simple Rexx question On Wed, 21 Aug 2024 19:54:38 +0000, Seymour J Metz wrote: >LISTDSI has a FILENAME option to test a ddname. > > r == LISTDSI(ABCXYZ FILE) > Will that work for tapes? Most infuriatingly, I learned long ago thatn LISTDSI(ABCXYZ FILE) returns attributes of the FILE as I had intended, but those from the DSCB if it can find one, simply failing if it can't. But as LBD reports, with a distinct return code. Not as useful as it might be. -- gil ---------------------------------------------------------------------- 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