It is currently 20 Nov 2018 12:51


Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 23 Oct 2018 9:54 
Offline
Nouveau
Nouveau
User avatar

Joined: 30 May 2008 12:00
Posts: 4
Location: Switzerland
I have a question
there is the possibility to send the control-m joblog by mail or in sysout ?
Then we will see who released the job etc.
Best thanks in advance for a quick answer


Top
   
PostPosted: 23 Oct 2018 5:03 
Offline
Nouveau
Nouveau
User avatar

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

Yes, using ctmlog utility in your script.


Top
   
PostPosted: 23 Oct 2018 6:15 
Offline
Nouveau
Nouveau
User avatar

Joined: 30 May 2008 12:00
Posts: 4
Location: Switzerland
I thought the job log from a job in the Monitoring where it ended . But thanks for the quick answer.
I'm still testing something about the ( ACTION / Notify / Shout / Destination with a script )
Maybe that's better. I would like the sysout and the log from the job send with an email.
I think the ctmlog utility is ok for research but not for realtime actions.
But I like to be taught better than that.


Top
   
PostPosted: 24 Oct 2018 7:06 
Offline
Nouveau
Nouveau
User avatar

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

Well to attach sysout is quite easy in job definition.
Concerning logs, I will suggest following solution :

- create a script to read (with ctmlog) log information, and to send contains in a email.
- put that script somewhere on your CTM server
- add an SHOUT alias in your CTM Server as a Program updating SHOUT Table refering to your script (ex: SENDLOG)
- adding in plus after DO MAIL in your job, a DO SHOUT (notification) to SENDLOG
having orderid (%%ORDERID) in the message.

Script will receive ORDER ID information to read log with ctmlog, and will send an email with contains in the message.


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 2 guests


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