Page 1 of 1

JOB extract from JMR

PostPosted: Thu May 27, 2010 11:41 pm
by Bala1
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.

//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.

Re: JOB extract from JMR

PostPosted: Fri May 28, 2010 12:06 am
by dick scherrer
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.

Re: JOB extract from JMR

PostPosted: Thu Jun 10, 2010 4:37 pm
by Bala1
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.


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


Cheers,
Bala

Re: JOB extract from JMR

PostPosted: Fri Jun 11, 2010 12:52 am
by dick scherrer
You're welcome - thank you for letting us know your solution :)

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

d

Re: JOB extract from JMR

PostPosted: Sun Sep 12, 2010 8:57 pm
by mahantesh_h
Hi all,

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

Thanks,
Mahant

Re: JOB extract from JMR

PostPosted: Sun Sep 12, 2010 11:35 pm
by NicC
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.

Re: JOB extract from JMR

PostPosted: Tue Sep 14, 2010 12:26 pm
by mahantesh_h
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

Re: JOB extract from JMR

PostPosted: Tue Sep 14, 2010 1:20 pm
by steve-myers
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.

Re: JOB extract from JMR

PostPosted: Tue Sep 14, 2010 11:50 pm
by dick scherrer
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.