Page 1 of 1

Suppress the system Message

PostPosted: Fri Aug 28, 2009 11:32 am
by nandanrexx
Hi all,

I have tried to delete a PS file in REXX program using the TSO commad.
After the dataset is deleted, Im getting a message "ENTRY (A) dataset DELETED "

Below is piece of code.

DSET1= "[i]dataset[/i]"                 
IF "OK" == SYSDSN("'"DSET1"'") THEN         
  DO                                       
    ADDRESS TSO "DELETE '"DSET1"'"         
    IF RC ¬= 0 THEN                         
      DO                                   
        SAY "CLOSE THE DATASET :" DSET1     
        EXIT                               
      END                                   
  END                                       
ELSE DO                                     
  END 


Could any one help me in this Issue.Thanks in Advance.

Re: Suppress the system Message

PostPosted: Fri Aug 28, 2009 11:37 am
by nandanrexx
Sorry all, I have forgot to mention my problem :o

actually i dont want that message to be displayed. Please help me how to suppress that message.

Re: Suppress the system Message

PostPosted: Fri Aug 28, 2009 11:55 am
by expat
X = MSG('OFF')