I believe you want SRC = LISTDSI(''"FN1"'" "NORECALL")
I'm not where I can get to some of my rexx routines to confirm this to be sure.
Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration
EAS Information Technology
Thermo Fisher Scientific
300 Industry Drive | Pittsburgh, PA 15275
Phone +1 (724) 517-2633 | Mobile +1 (412) 877-2809 | FAX: +1 (412) 490-9230
[email protected] | www.thermofisher.com
WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of this
e-mail or the information herein by anyone other than the intended recipient,
or an employee or agent of a system responsible for delivering the message to
the intended recipient, is prohibited. If you are not the intended recipient,
please inform the sender and delete all copies.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Mike Kovach
Sent: Thursday, July 16, 2015 2:45 PM
To: [email protected]
Subject: I need a little help using LISTDSI in a REXX program
I have a REXX program which includes the following:
SRC = LISTDSI(''"FN1"'") where FN1 = a fully qualified datasetname.
The results of the invoke of LISTDSI provide the number of tracks used by the
file in the SYSUSED SYSTEM variable.
Unfortunately, if the dataset is Migrated, it must be RECALLED before this can
be done. I want to add the NORECALL option of the LISTDSI command to avoid the
RECALLS, but I cannot get the syntax correct.
TSO LISTDSI 'FULLY.QUAL.DATASET.NAME' NORECALL works fine on the TSO 6 Panel
or on the CMD line
Help out there?
Thanks in advance for your responses.
Regards,Mike Kovach
----------------------------------------------------------------------
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