Control M Report automation

A lot of scripts ans example to extract information from Control-M tools.
Post Reply
User avatar
rajah
Nouveau
Nouveau
Posts: 1
Joined: 05 Jul 2011 12:00

Control M Report automation

Post by rajah » 05 Jul 2011 3:43

HI All,

I am a novice in control-M. I want a create a job which has to run a report in reporting facility daily.
I understood that there are 2 ways to do that

1) By selecting job type - Control M report. but I am unable to fill the report parameters under the tab report.

2) by running batch file with emreportcli utility. here also I am unable to change the dates dynamically. whenever i run the batch file the template will produce the same report as we are not changing the dates.

Could someone please help? Any recommendations will be highly appreciated.

User avatar
Ramlakshman
Nouveau
Nouveau
Posts: 3
Joined: 17 Jul 2009 12:00

Control-M, Reprot

Post by Ramlakshman » 09 Jul 2011 1:46

Hi,

Create new job with the follow coomand to genertate the report for the failure for a day.
Use the following command to get

ctmlog list %%A 0630 %%B 0630 | grep -i "ENDED NOTOK" |mailx -s
"CONTROLM JOBS FAILURE REPROT" mail id

Mail id:- specify the mail id that u want, so that u will recevie mail with job failure details.

From morning 0630 to next day morning 0630.

Regards,
Ram.

User avatar
Eight
Nouveau
Nouveau
Posts: 41
Joined: 03 May 2010 12:00

Post by Eight » 11 Jul 2011 10:49

With running jobs from the reporting facility you first need to have an agent on the box that the reporting facility is on. you can then 'import application forms' from your control-M desktop. This will add a Report TAB to the job type. That is where you can select the report and add parameters.

User avatar
ahtisham454
Nouveau
Nouveau
Posts: 23
Joined: 16 Feb 2012 12:00

Post by ahtisham454 » 23 Feb 2012 11:17

This is one amazing article! Thank you for posting this.

Post Reply