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

How to reply to JES numbers?


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

New User


Joined: 09 May 2005
Posts: 2

PostPosted: Thu Jul 27, 2006 3:34 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jul 27, 2006 4:34 pm
Reply with quote

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
View user's profile Send private message
zigtso

New User


Joined: 09 May 2005
Posts: 2

PostPosted: Thu Jul 27, 2006 5:25 pm
Reply with quote

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
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Feild level validation to test first ... JCL & VSAM 10
No new posts Line numbers contains last 6 digits o... TSO/ISPF 4
No new posts Random Numbers distributed evenly wit... COBOL Programming 6
Search our Forums:

Back to Top