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

Reply via email to