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
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).