When I right-click on a job and choose "log." I can see the specific events for that job. My question is, since 6.1 does not have an archive view point function, where does the system store this information? Is it on the server or on the job node somewhere?
Thank you,
Vic
How can I view job logs for previous days under version 6.1?
Found the answer to my own question
The log information that you see when you click on the job in the EM and choose "log" is actually held in the CONTROL-M/Server database in the CMR_IOALOG table.
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
hello,philmalmaison wrote:archive your controlm log by using ctmlog list <from> <from> <to> <to> > yourfile
ex: i archive the controlm log on a daily basis.
ctmlog list %%$PREVDATE 1000 %%$ODATE 1000 > myfile.`date`
so i can retrieve everythink making some grep ...
i keep 30 days
is %%$PREVDATE created by another job? or is it a ctrlm variable, like autoedit?
thanks
From documentation of system variables:but Prevdate is not standard variable i think
%%$PREV yyyymmdd Previous scheduling date for the job (4-digit
year).
I create a log each day after ND and I save it with Time Stamp I keep them for 1 year in compressed archive (zip).
In my case the archived view point respond very well for what is run 7-10 days before. But if the question is about a run one or two month ago ?
In this manner I have always the execution log.