Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Hide the system message using outtrap but went in vain

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Hide the system message using outtrap but went in vain
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: 2360
Location: Israel

PostPosted: Tue Mar 27, 2007 11:25 am    Post subject:
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    Post subject: Re: Hide output messages
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: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 27, 2007 1:30 pm    Post subject:
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    Post subject: Re: Hide output messages
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Default Message in Rexx cvnlynn CLIST & REXX 9 Wed Aug 02, 2017 12:38 am
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us