View previous topic :: View next topic
|
Author |
Message |
purushoth_jp
New User
Joined: 12 Dec 2004 Posts: 22
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Try "TSO PROFILE NOINTERCOM NOWTPMSG".
O. |
|
Back to top |
|
|
purushoth_jp
New User
Joined: 12 Dec 2004 Posts: 22
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
X = MSG('OFF') |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
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 |
|
|
|