You gotta a "tape", give it a try and see what the RC is and what
of the variables it sets, are set.
If I had tape, I'd try it for you, because this is something I
should know given what I'm working on in my spare time.
Steve Thompson
On 8/21/2024 8:36 PM, Seymour J Metz wrote:
I've never tried it, but it should.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul
Gilmartin <[email protected]>
Sent: Wednesday, August 21, 2024 6:16 PM
To: [email protected]
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 [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN