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 > http://mason.gmu.edu/~smetz3 > > > ________________________________________ > 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
