It is currently 21 Nov 2018 6:54


Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 10 May 2018 11:39 
Offline
Nouveau
Nouveau
User avatar

Joined: 10 Jan 2007 12:00
Posts: 184
Location: Zagreb, Croatia
Hi guys,

is it possible (CTM v9) to set up e-mail notification when job starts to execute? The business wants to know and be notified when job starts to execute. Sending email when job is completed is not enough.
I tried with echo command "job started" but email is sent only when job finished. I want to send it immediately as job starts.
That particular job starts manualy.

Any ideas?


Top
   
PostPosted: 27 May 2018 3:51 
Offline
Nouveau
Nouveau
User avatar

Joined: 26 Apr 2005 12:00
Posts: 722
Location: PARIS
Hi

Yes you can, using PRECMD command. (%%PRECMD)
You can execute a script sending an email before job execution.


Top
   
PostPosted: 09 Nov 2018 9:06 
Offline
Nouveau
Nouveau
User avatar

Joined: 10 Jan 2007 12:00
Posts: 184
Location: Zagreb, Croatia
fyot wrote:
Hi

Yes you can, using PRECMD command. (%%PRECMD)
You can execute a script sending an email before job execution.


Hi Franck! Long time no see you. :)
The problem was that %%PRECMD is not suported in Control-M for Oracle Retail Module.

But, it seems my problem is solved. :) In Control-M 9.0.18.200 and Control-M for Oracle Retail 8.0, BMC introduced "Run pre-exec" and "Run post-exec" check boxes in General tab for Job definition (Oracle retail jobs).
I will check with Oracle team for testing that functionalities. :)

Best regards,


Top
   
PostPosted: 12 Nov 2018 3:39 
Offline
Nouveau
Nouveau

Joined: 18 Jan 2018 3:18
Posts: 3
Dilbert wrote:
fyot wrote:
Hi

Yes you can, using PRECMD command. (%%PRECMD)
You can execute a script sending an email before job execution.


Hi Franck! Long time no see you. :)
The problem was that %%PRECMD is not suported in Control-M for Oracle Retail Module.

But, it seems my problem is solved. :) In Control-M 9.0.18.200 and Control-M for Oracle Retail 8.0, BMC introduced "Run pre-exec" and "Run post-exec" check boxes in General tab for Job definition (Oracle retail jobs).
I will check with Oracle team for testing that functionalities. :)

Best regards,


the run pre-exec should work just fine, however, if it does not, another option would be setting up a dummy job right before the needed job to have an on-do action to send the mail as well.

Regards,


Top
   
PostPosted: 13 Nov 2018 11:04 
Offline
Nouveau
Nouveau
User avatar

Joined: 10 Jan 2007 12:00
Posts: 184
Location: Zagreb, Croatia
Guilherme_HFA wrote:
Dilbert wrote:
fyot wrote:
Hi

Yes you can, using PRECMD command. (%%PRECMD)
You can execute a script sending an email before job execution.


Hi Franck! Long time no see you. :)
The problem was that %%PRECMD is not suported in Control-M for Oracle Retail Module.

But, it seems my problem is solved. :) In Control-M 9.0.18.200 and Control-M for Oracle Retail 8.0, BMC introduced "Run pre-exec" and "Run post-exec" check boxes in General tab for Job definition (Oracle retail jobs).
I will check with Oracle team for testing that functionalities. :)

Best regards,


the run pre-exec should work just fine, however, if it does not, another option would be setting up a dummy job right before the needed job to have an on-do action to send the mail as well.

Regards,


That Dummy job was my solution to customer, but they are against it.
Anyway, with the new module which supports pre-execution command for Oracle Retail Jobs, now that works.
Old Oracle Retail module just didn't support pre-execution.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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