View previous topic :: View next topic
|
Author |
Message |
zigtso
New User
Joined: 09 May 2005 Posts: 2
|
|
|
|
Hi,
I'm trying to write a small rexx script in netview to automate starting a trace.
The problem I've got is the commands create a JES number to reply to i.e.
MVS TRACE CT,ON,COMP=SYSTCPIP,SUB=(TCPIP)
814 ITT006A SPECIFY OPERAND(S) FOR TRACE CT COMMAND.
I then need to add in my rexx script a reply to the unique number 814. Obviously this number changes whenever the script is run so I need a way to extract and use the generated number in my reply thus:
R 814,END
Any ideas?
Many Thanks
Ian |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What you need is the ability to issue operator commands. In this case, the command should be something like /R 814,reply.
You can issue operator commands using the CONSOLE host environment, which is well documented in the fine manual.
Another method is to generate and submit a job containing oprtator commands using JES syntax.
O. |
|
Back to top |
|
|
zigtso
New User
Joined: 09 May 2005 Posts: 2
|
|
|
|
Thanks for your response ofer71!
I can issue the commands through the NetView application (mvs r xx,end) however I want to automate the whole trace activation. To do this I need to be able to pull the message that is create from the previous command which creates the number (xx).
I'm thinking this cannot be done.
Cheers. |
|
Back to top |
|
|
|