It is currently 22 Jan 2018 9:26


Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Good jobs counts
PostPosted: 21 Nov 2011 1:05 
Offline
Nouveau
Nouveau
User avatar

Joined: 25 May 2010 12:00
Posts: 5
Hi,

For the Good jobs counts we have created one job in our Control-M and using below command

Command : ctmlog listmsg 5133 %%A 0800 %%B 0759 | mailx -s "Batch Jobs - Successful" %%C %%D %%E %%F

Below variable pass through SET tab..

In above command %%A= %%CALCDATE %%ODATE -1
AND %%B= %%CALCDATE %%ODATE

The above command we use daily to find good jobs detail through Control-M ( using batch job)

Here my question is suppose I want weekly report instead of daily report, so in that case how we calculate the date under %%A and %%B section ..?

i.e. I want whole week report 2011 11 15 to 2011 11 21

_________________
Sincerely,
Abhishek Saxena-ITIL- V3,@ UMP (United Manger Program) also Six Sigma Yellow Belt certified.cell:9810833122
abhishek.saxena@gmail.com


Top
   
 Post subject:
PostPosted: 25 Nov 2011 2:00 
Offline
Nouveau
Nouveau
User avatar

Joined: 18 May 2008 12:00
Posts: 11
Location: Mexico, D. F.
Remember the variable %%odate has the original date of ctm, if you need to do calculate dates after or befor, in the sentence %%CALCDATE you can use %%ODATE + or - for example:

%%A=%%CALCDATE %%ODATE -1
%%B=%%CALCDATE %%ODATE +6

Best Regards


Top
   
 Post subject:
PostPosted: 21 Feb 2012 11:42 
Offline
Nouveau
Nouveau
User avatar

Joined: 16 Feb 2012 12:00
Posts: 23
Keep up the good work

_________________
dunya news


Last edited by ahtisham454 on 27 Feb 2012 10:49, edited 1 time in total.

Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved