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
there is the possibility to send the control-m joblog by mail or in sysout
Re: there is the possibility to send the control-m joblog by mail or in sysout
Hi
Yes, using ctmlog utility in your script.
Yes, using ctmlog utility in your script.
Re: there is the possibility to send the control-m joblog by mail or in sysout
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.
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.
Re: there is the possibility to send the control-m joblog by mail or in sysout
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.
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.