JOB extract from JMR

All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.
Bala1
Posts: 15
Joined: Tue Apr 06, 2010 7:07 pm
Skillset: JCL, REXX, DB2
Referer: Friends
Location: London, United Kingdom

JOB extract from JMR

Postby Bala1 » Thu May 27, 2010 11:41 pm

Hi All,

Could someone help me in correcting the following JCL which was generated by the BATCH execution option of JMR to extract the jobs from JMR. The requirement is to capture the jobs and put the information in a PDS or a PS file.

Code: Select all

//TST014R1 JOB (12345),CRD014                                   
//*                                                             
//*                                                             
//*                                                             
//SCAN   EXEC JMRSCAN,OPTNLIBJ=SYS3.JMR.PPOPTION,               
//             OPTNMEMJ=PK46OPTN                               
//JMRIN    DD *                                                 
  FUNCTION LIST=ALL JOBMASK=TSTSP600 SDATE=10/05/20             
           EDATE=10/05/20                         
/*

i am not sure on the JMRIN parameters that needs to be passed to get the jobs into a PDS or a PS file.
_____________________
Cheers,
Bala

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: JOB extract from JMR

Postby dick scherrer » Fri May 28, 2010 12:06 am

Hello,

Suggest you talk with whoever is responsible for the JMRSCAN PROCedure.

One way to do what you want is to override the DD statement for the report that is now created in a sysout.
Hope this helps,
d.sch.

Bala1
Posts: 15
Joined: Tue Apr 06, 2010 7:07 pm
Skillset: JCL, REXX, DB2
Referer: Friends
Location: London, United Kingdom

Re: JOB extract from JMR

Postby Bala1 » Thu Jun 10, 2010 4:37 pm

Hi D.SCH,
Thanks a lot for your inputs.
All the change that i did was cahnge the JMRIN parameters and then added routed the DD CARD for JMRPRINT to a PS file.


Code: Select all

//JMRIN    DD *                                                     
FUNCTION LIST=ALL JOBNAME=JOBTST01 SDATE=YY/MM/DD                 
        EDATE=YY/MM/DD                                           
/*                                                                   


Cheers,
Bala
_____________________
Cheers,
Bala

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: JOB extract from JMR

Postby dick scherrer » Fri Jun 11, 2010 12:52 am

You're welcome - thank you for letting us know your solution :)

It will help someone else one day. . . ;)

d

mahantesh_h
Posts: 3
Joined: Sun Sep 12, 2010 8:54 pm
Skillset: JCL
Referer: THORUGH FRIENDS

Re: JOB extract from JMR

Postby mahantesh_h » Sun Sep 12, 2010 8:57 pm

Hi all,

How can I pass the values of sdate and edate though the datasets in the sysin card?

Thanks,
Mahant

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

Re: JOB extract from JMR

Postby NicC » Sun Sep 12, 2010 11:35 pm

Suggest you read the help - probably PF1 - or manual. Any problems understanding these then post your specific problem(s).

Looking at the job in the original post there may not be a SYSIN. The original post uses JMRIN but this may be a redirection for SYSIN.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

mahantesh_h
Posts: 3
Joined: Sun Sep 12, 2010 8:54 pm
Skillset: JCL
Referer: THORUGH FRIENDS

Re: JOB extract from JMR

Postby mahantesh_h » Tue Sep 14, 2010 12:26 pm

I could not find the manual on the net. Can anyone provide me the link?.

I need to passs the date value to sdate and edate through datasets in JMRIN card.

My JCL will run daily to extract the status of few jobs.

Thanks,
Mahantesh

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: JOB extract from JMR

Postby steve-myers » Tue Sep 14, 2010 1:20 pm

I don't know this to be a fact, but I'd be surprised if there is a online JMR manual. If there is one, it would be on the CA support web site, and you need to be a valid CA user to get an ID for the site.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: JOB extract from JMR

Postby dick scherrer » Tue Sep 14, 2010 11:50 pm

Hello,

If your organization is licensed to use a CA product, all of the documentation for the product is free from CA Support. . .

You have to register, but registration is easy and it is free.
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post