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
 

 

JMR Options in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: JMR Options in JCL
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    Post subject:
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    Post subject: Reply to: JMR Options -
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    Post subject: Re: Reply to: JMR Options -
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    Post subject: Reply to: JMR Options -
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Unload format options Susanta DB2 2 Fri Aug 12, 2016 5:42 pm
No new posts Endevor - Compiler Options. Chetan Kumar Mainframe Interview Questions 4 Tue Oct 20, 2015 6:32 pm
No new posts DFSORT with Reformat Options jegan_selvan DFSORT/ICETOOL 4 Tue Oct 14, 2014 4:52 pm
No new posts Compiler Options tmaheswara CICS 2 Mon Mar 11, 2013 11:59 am
No new posts How to use OPTIMIZE options in PL/I f... CyberKing PL/I & Assembler 3 Thu Jan 31, 2013 9:56 pm


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