Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Row-Numbers of distinct rows? Auryn DB2 1 Thu Oct 20, 2016 4:38 pm
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts comparing comp-3 and unpacked numbers juares castro COBOL Programming 3 Mon May 30, 2016 6:46 pm
No new posts Sort Trick for numbers pshongal DFSORT/ICETOOL 4 Tue Mar 22, 2016 1:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us