There is a TSO-REXX forum that is quite useful. [email protected]
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of ITschak Mugzach Sent: Wednesday, October 02, 2019 8:21 AM To: [email protected] Subject: Re: REXX LISTDSI error Boys, be kind with Bill. He will never learn this way. ITschak On Wed, Oct 2, 2019 at 5:48 PM Seymour J Metz <[email protected]> wrote: > > 'CALL LISTDSI ( dataset.TXT NORECALL)' > > What gave you the idea that LISTDSI was a TSO command? > > > This keeps returning a RC of -3. > > Did you look up what that means? Ignoring other issues, a function is > not the same thing as a host command. > > > > -- > Shmuel (Seymour J.) Metz > https://urldefense.proofpoint.com/v2/url?u=http-3A__mason.gmu.edu_-7Es > metz3&d=DwIBaQ&c=OH6BQl87xST15P4a0P7x0PHDI-ViE9lGCC1zTisL9ic&r=HPvcl0s > AG_OLFJIWLUB0E9aO8e9MboKUP0_bmgV0C3w&m=tIG-Ly2UCgxF6MUbHX8aqa-QocQdY0t > 4bgcTSMt80e8&s=B48ELnPcJpUPTExTMUbIaUpBCsjL5Ii_iQLFTkcKjAY&e= > > > ________________________________________ > From: IBM Mainframe Discussion List <[email protected]> on > behalf of Bill Giannelli <[email protected]> > Sent: Wednesday, October 2, 2019 5:32 AM > To: [email protected] > Subject: REXX LISTDSI error > > I have the following rexx command: > > ADDRESS TSO > 'CALL LISTDSI ( dataset.TXT NORECALL)' > ADDRESS TSO > 'IF SYSREASON = 9 THEN "HDELETE dataset.TXT WAIT" > ELSE "DELETE dataset.TXT"' > > This keeps returning a RC of -3. > processes the rest of the rexx successfully But then leaves the > dataset "dataset.txt" as uncataloged. > Why would it have an uncataloged dataset? > thanks for any help. > Bill > > ---------------------------------------------------------------------- > 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 > -- ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Contiguous Monitoring for Legacy **| * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ______________________________________________________________________ CONFIDENTIALITY NOTICE: This email from the State of California is for the sole use of the intended recipient and may contain confidential and privileged information. Any unauthorized review or use, including disclosure or distribution, is prohibited. If you are not the intended recipient, please contact the sender and destroy all copies of this email. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
