JOB extract from JMR



All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.

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.

//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
Bala1
 
Posts: 15
Joined: Tue Apr 06, 2010 7:07 pm
Location: London, United Kingdom
Has thanked: 0 time
Been thanked: 0 time

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.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

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.


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


Cheers,
Bala
_____________________
Cheers,
Bala
Bala1
 
Posts: 15
Joined: Tue Apr 06, 2010 7:07 pm
Location: London, United Kingdom
Has thanked: 0 time
Been thanked: 0 time

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
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

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
mahantesh_h
 
Posts: 3
Joined: Sun Sep 12, 2010 8:54 pm
Has thanked: 0 time
Been thanked: 0 time

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
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

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
mahantesh_h
 
Posts: 3
Joined: Sun Sep 12, 2010 8:54 pm
Has thanked: 0 time
Been thanked: 0 time

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

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.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to All Other Tools

 


  • Related topics
    Replies
    Views
    Last post