IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Hide the system message using outtrap but went in vain


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
purushoth_jp

New User


Joined: 12 Dec 2004
Posts: 22

PostPosted: Tue Mar 27, 2007 10:43 am
Reply with quote

All-
I tried to rename a dataset through rexx program, it did my task and it is displaying some system message. i have pasted the code and system message for your reference.

/*********REXX*********/
X=OUTTRAP(A.)
temp = "user1.DATA.TEST.aa"
temp1= "user2.DATA.TEST.PJAAAA.AAAAAAA.AAAAAAA.ANN"
ADDRESS TSO
RENAME "'"temp"'" "'"temp1"'"

after i have executed the above code. im getting the system message like this

user1.DATA.TEST.aa
user2.DATA.TEST.aaAAAA.AAAAAAA.AAAAAAA.ANN
IGD01006I SMS/RDS Exit ACCEPTED MC:MCDEF Job:
Dsn:user2.DATA.TEST.aaAAAA.AAAAAAA.AAAAAAA.ANN OMC:MCDEF

i don't want the above message to be displayed on my screen. once the job is executed i want to display my own message that rename successfuly or not successful.

i tried to hide the system message using outtrap but went in vain.

please let me know if there is any way to hide the system messages.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Mar 27, 2007 11:25 am
Reply with quote

Try "TSO PROFILE NOINTERCOM NOWTPMSG".

O.
Back to top
View user's profile Send private message
purushoth_jp

New User


Joined: 12 Dec 2004
Posts: 22

PostPosted: Tue Mar 27, 2007 1:24 pm
Reply with quote

I tried with the option specified.. but again i'm getting that message

/*********REXX*********/
X=OUTTRAP(A.)
"PROFILE NOINTERCOM NOWTPMSG"
temp = "user1.DATA.TEST.aa"
temp1= "user2.DATA.TEST.PJAAAA.AAAAAAA.AAAAAAA.ANN"
ADDRESS TSO
RENAME "'"temp"'" "'"temp1"'"

could you please help me out.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Mar 27, 2007 1:30 pm
Reply with quote

X = MSG('OFF')
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Tue Mar 27, 2007 1:35 pm
Reply with quote

it's running okay ..However could you please try to rename the dataset for which SMS Routines are defined..like first try to rename the dataset having Your TSO Userid as HLQ.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top