Suppress the system Message



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Suppress the system Message

Postby nandanrexx » Fri Aug 28, 2009 11:32 am

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.
nandanrexx
 
Posts: 3
Joined: Fri Aug 28, 2009 11:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: Suppress the system Message

Postby nandanrexx » Fri Aug 28, 2009 11:37 am

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.
nandanrexx
 
Posts: 3
Joined: Fri Aug 28, 2009 11:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: Suppress the system Message

Postby expat » Fri Aug 28, 2009 11:55 am

X = MSG('OFF')
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post