Ideally "NORECALL" should be in quotes. Dave Salt
SimpList(tm) - try it; you'll get it! http://www.mackinney.com/products/program-development/simplist.html > Date: Thu, 16 Jul 2015 18:57:26 +0000 > From: [email protected] > Subject: Re: I need a little help using LISTDSI in a REXX program > To: [email protected] > > Chuck is correct, just checked back through my rexx execs and I have this > example: > > retcode = LISTDSI(''''LKDSN'''' NORECALL) > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Hardee, Chuck > Sent: Thursday, July 16, 2015 2:49 PM > To: [email protected] > Subject: Re: I need a little help using LISTDSI in a REXX program > > 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 > E-MAIL CONFIDENTIALITY NOTICE: This e-mail from Donegal Insurance Group may > contain CONFIDENTIAL and legally protected information. If you are not an > intended recipient, please do not copy, use or disclose this email or its > contents to others; and please notify us by calling toll free (800) 877-0600 > x7880 or by replying to this message, and then delete it from your system. > Delivery of this email to an unintended recipient is not a waiver of any > attorney-client or other applicable privilege. > > ---------------------------------------------------------------------- > 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
