Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to reply to JES numbers?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
zigtso

New User


Joined: 09 May 2005
Posts: 2

PostPosted: Thu Jul 27, 2006 3:34 pm    Post subject: How to reply to JES numbers?
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
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1973
Location: Israel

PostPosted: Thu Jul 27, 2006 4:34 pm    Post subject:
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    Post subject: Re: How to reply to JES numbers?
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1