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

JMR Options in JCL


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manikant pathak

New User


Joined: 09 May 2005
Posts: 37
Location: bangalore

PostPosted: Wed Feb 04, 2009 2:36 pm
Reply with quote

Hi Everyone,

Does anyone know what JMROPTION in JCL will give the sysout dataset also? To give a history, I want to develop a REXX tool which will read the sysout (no dataset) and will compare the counts with the counts in JAVA side. I though of creating a JCL to submit a batch job for the same through REXX but the problem is that the existing set of JMROPTIONS only display me the run date and the condition code.


Any help on this will be highly appreciated.

Thanks,
Manikant

Note: I am not sure if this Topic should go under the REXX discussion as this is a mix of both REXX and JMR.
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Wed Feb 04, 2009 4:54 pm
Reply with quote

The value(s) given for JMROPTN refer(s) to member name(s) in the dataset allocated under DDNAME OPTIONS. These are customisable, so I suggest you talk to the team/person responsible for supporting JMR at your site.

Cheers.
Back to top
View user's profile Send private message
manikant pathak

New User


Joined: 09 May 2005
Posts: 37
Location: bangalore

PostPosted: Wed Feb 04, 2009 5:11 pm
Reply with quote

Thanks Peter!

The thing is that I know the DD Name, Member name and also I have the list of JMR options, but not sure which JMR option will need a change to view the SYSOUT.

Though it is having a option SYSOUT = 0 (Default) which I changed to 1 but it was of no use.

Regards
Manikant
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Wed Feb 04, 2009 6:31 pm
Reply with quote

manikant pathak wrote:
Thanks Peter!

The thing is that I know the DD Name, Member name and also I have the list of JMR options, but not sure which JMR option will need a change to view the SYSOUT.

Though it is having a option SYSOUT = 0 (Default) which I changed to 1 but it was of no use.

Regards
Manikant


CA-JMR Getting Started:
Chapter 5: Tailoring Data Management Parameters:


SYSOUT=class
This parameter designates the output class to which you want
CA-JMR abended job output directed. You must code the output
class as one character.
Default: SYSOUT=A
Examples: SYSOUT=X
SYSOUT=9
Note: The output class specified for this parameter should not
be a class that CA-JMR collects.


Making changes to parameters by guesswork is not a good idea. Suggest you change things back to how they were ASAP!

Digging deeper, I am slightly confused.. as far as I can see, online JMR should default to showing "Sysout Line Counts" for all jobs selected via jobmask regardless of JMROPTN, and entering "?" in primary selection for any job will split it out to show line counts for each individual sysout "stream" captured for the job...

In batch, the utility program is CAPKSCAN and I'd expect to see something like:

//SEARCH EXEC CAPKSCAN
//JMRIN DD *
FUNCTION DATE=00834,LIST=ALL,JOBMASK=ABC*
//

Again, there is - as far as I can tell - no explicit need to refer to JMROPTN members...

Give me a bit more to work with? What exactly are you trying to do, and if you have examples of JCL, REXX code and output results, please post 'em.

Cheers.
Back to top
View user's profile Send private message
manikant pathak

New User


Joined: 09 May 2005
Posts: 37
Location: bangalore

PostPosted: Thu Feb 05, 2009 12:28 pm
Reply with quote

Hi Peter,

My objective is to write a tool for getting the Sysout for a given Job from JMR. I thought of writing a tool to submit the batch Job for getting the sysout and then put the count in a file. I used the same JCL which is mentioned in your previous post and thr output which I recived was just a summary of the JMR report like

CMD Jobname Jobno Date Time System Error Highest Sysout
Cond Code Print lines
CPD104H 72033 09/02/05 00:00:40 SYTE 1000 1,168

From here on if you want to see the sysout you need to look inside this. so i though if there is any way to get the SYSOUT info along with this by changing some of the JMR options.

Also, the change to the JMR options was not made in the standard library but in a copy of the same in my personal PDS so no worries there.

If not this then probably I will try to read the JMR Daily log file using REXX and get the things done but this will take more time as the Daily Log file will be Huge.

- Manikant
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Thu Feb 05, 2009 6:08 pm
Reply with quote

Hokay.. When you mentioned "put the count in a file" I thought you were after the Sysout Print Lines number - the only count automatically associated with a JMR display.

Hmmm..

Try:
//RECALL EXEC CAPKSCAN
//JMRIN DD *
FUNCTION DATE=yyydd,JOBNAME=CPD104H
//

Output goes to DDNAME JMRPRINT if memory serves!

Cheers!
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Thu Feb 05, 2009 6:09 pm
Reply with quote

Or even yyddd...

Grrr... Need coffee...much coffee...

Cheers.
Back to top
View user's profile Send private message
manikant pathak

New User


Joined: 09 May 2005
Posts: 37
Location: bangalore

PostPosted: Tue Feb 10, 2009 5:36 pm
Reply with quote

This is not making any differnce execpt that earlier we use to get entire list (LIST=ALL) but now we are getting only DATE. I think this is possible only by changing some of the JMR Options.
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Tue Feb 10, 2009 10:59 pm
Reply with quote

Damned peculiar... the manual clearly states:

Specify one or more of the remaining parameters, depending on whether you want to print a particular job or a job selection list:

To print a particular job, identify that job with the JOB parameter,
the JOBNAME parameter, or both.


1) Give it a try with JOB=jobnumber, and/or JOBNAME=CPD104H
2) Check the SDSF output and make sure you're getting something out against DDNAME JMRPRINT - ie; make sure it's not getting whisked away to JMR or an autodeleted class...

Cheers.
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Tue Feb 10, 2009 11:37 pm
Reply with quote

In fact, since you want to poke around in the output anyway, try adding a specific //JMRPRINT DD statement to your JCL and lets see what we can catch!

Dataset attributes should be:

Note: Output from retrievals is written to a CAPKSCAN DD statement
named JMRPRINT. JMRPRINT defaults to a SYSOUT file, however, you can
redirect this DD statement to a data set having the DCB attributes of
RECFM=FBA, LRECL=133, BLKSIZE=6118.


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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts COBOL MVS options COBOL Programming 8
No new posts Default FTP options All Other Mainframe Topics 2
No new posts DB2 Unload format options DB2 2
No new posts Endevor - Compiler Options. Mainframe Interview Questions 4
No new posts DFSORT with Reformat Options DFSORT/ICETOOL 4
Search our Forums:

Back to Top