Hello,
I am new to Control M, Can some one please help understand below.
Background : I have around 200+ jobs ( with Group Scheduling ) in one table and they should run every day with 2 hrs interval i.e. 12 runs in a day, eg : 01:00 GMT, 03:00 GMT ....
Ordering : We are using below command for ordering 01:00 GMT schedule.
" ctmorder -SCHEDTAB DS1PHM__ME_C -JOBNAME "*" -HOLD n -ODATE %%CENT.%%OYEAR.%%OMONTH.%%ODAY -autoedit %%#APPLGROUP DS1PHM__0100_ME_C "
After successfull completion of each schedule by using below command we are generating the log file.
ctmlog listmsg 5100 %%%%APPLGROUP._START %%CENT.%%DATE.%%BLANK1.%%ENDTIME | grep 5100 |grep DS1P |grep FSS |grep _C | mailx -s %%JOBNAME %%MAILDEST
Can some one help me to understand above ctmlog command.
What they are trying to do with above command.
Regards
Challa
ctmlog utility
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
Control-m Server Admin guide / utilities part / ctmlog
on page 195
The ctmlog utility creates a report from entries in the CONTROL-M log or deletes
entries in the CONTROL-M log.
Specify one of the following commands to invoke the ctmlog utility:
ctmlog <action> <actionOption> \
<fromDate> <fromTime> <toDate> <toTime> \
[<output> [<reportWidth>] ]
ctmlog <action> <actionOption> "*" \
[<output> [<reportWidth>] ]
Valid values for <action> and <actionOption> are listed in Table 55. All other
parameters of this utility are described in Table 56.
The following command produces a report of all entries in the CONTROL-M log
between 10:00 A.M. March 12, 2002 and 8:00 A.M. March 14, 2002. The report is
output to file rprt.txt in 80-column format:
ctmlog list 20020312 1000 20020314 0800
~<controlm_owner>/ctm_server/user1/rprt.txt
regards
philmalmaison
on page 195
The ctmlog utility creates a report from entries in the CONTROL-M log or deletes
entries in the CONTROL-M log.
Specify one of the following commands to invoke the ctmlog utility:
ctmlog <action> <actionOption> \
<fromDate> <fromTime> <toDate> <toTime> \
[<output> [<reportWidth>] ]
ctmlog <action> <actionOption> "*" \
[<output> [<reportWidth>] ]
Valid values for <action> and <actionOption> are listed in Table 55. All other
parameters of this utility are described in Table 56.
The following command produces a report of all entries in the CONTROL-M log
between 10:00 A.M. March 12, 2002 and 8:00 A.M. March 14, 2002. The report is
output to file rprt.txt in 80-column format:
ctmlog list 20020312 1000 20020314 0800
~<controlm_owner>/ctm_server/user1/rprt.txt
regards
philmalmaison
ctmlog utility
Hi philmalmaison,
Thank you very much.
Using ctmlog utility, is it possible to restrict the log based on group id. means I want o list the job run time only for the job which are in that particulat Group.
Regards
Challa
Thank you very much.
Using ctmlog utility, is it possible to restrict the log based on group id. means I want o list the job run time only for the job which are in that particulat Group.
Regards
Challa