Control-M Log for actions taken on a job

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
Tammy
Nouveau
Nouveau
Posts: 5
Joined: 09 Oct 2009 12:00

Control-M Log for actions taken on a job

Post by Tammy » 24 Feb 2011 6:41

Is there a log available that would tell me what action was taken for a job in the AJF once it's rolled off the Archive Viewpoint? My Sys Admins don't want to keep more than 10 days worth of viewpoints but sometimes I need to find out if a job was deleted, forced OK, etc. 12 days after the job ended. Is there a Control-M log that would tell me that information for all jobs? Thanks.

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

Post by Eight » 28 Feb 2011 4:50

Depending on how long you keep your joblogs you could use the ctmlog utility.

ctmlog listmsg "<search>" FromDate FromTime ToDate ToTime “report file location/name”
Example:
ctmlog listmsg "5401" 20110101 0000 20110227 0000 /opt/test_log2.txt

For the search string value you just right click on a job and go to log. You will see the codes listed.

Example for hold:
28/02/2011 10:46:27 AM CS5401 HELD BY USER

If you need to go further back then you could run this daily for a 24hr period and then have it for reference at a later date.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 03 Mar 2011 8:50

To have a retentions of logs longher then "archived view points", you must manuly extract them.
With the Reporting Facility you can extract all actions you want doing a report template and running it in batch mode every day with a controlM job.
In the last version 7.0 there is also a free desktop form for reporting in witch you can easy define the report to run, pass also variable parameters (as the date) and also send automatically the report via e-mail.

But I build reports about "User actions" all days automatically scheduled by controlM jobs from 6.3 version.
Have a good day
MaurizioG.

User avatar
Tammy
Nouveau
Nouveau
Posts: 5
Joined: 09 Oct 2009 12:00

Post by Tammy » 10 Mar 2011 5:44

Thank you. It looks like we have one day of ctmlog so I'm setting up something to retain those.

Mauriziog - I've looked at Control-M Reporting for 6.3 but I don't see anything for User Actions. Did you create this or what report should I look for ? Thanks.

Post Reply