Search found 66 matches

by aluthra48
Fri Mar 20, 2009 1:06 pm
Forum: General
Topic: How to capture error message of a job and send it in mail
Replies: 6
Views: 2799

Here's the error I got from the log of the sequence job:
SendMessageOnHourlyAbort..JobControl (@Routine_Activity_0): Controller problem: BASIC routine is not cataloged: DSU.SendMessageOnAbort
by aluthra48
Fri Mar 20, 2009 11:20 am
Forum: General
Topic: How to capture error message of a job and send it in mail
Replies: 6
Views: 2799

I apologize. I made a slight mistake in the code. Here it is: Deffun DSRMessage(A1) Calling "*DataStage*DSR_MESSAGE" Equate RoutineName To "SendMessageOnFailure" $INCLUDE DSINCLUDE JOBCONTROL.H ErrorCode=0 JobNm=DSGetJobInfo(JobName,DSJ.JOBNAME) JobStat=DSGetJobInfo(JobName,DSJ.J...
by aluthra48
Fri Mar 20, 2009 11:19 am
Forum: General
Topic: How to capture error message of a job and send it in mail
Replies: 6
Views: 2799

I have a similar issue. I need to capture the job status and in case of failure, I need to send out an email notification. To do this I created a server routine that is coded as follows: Deffun DSRMessage(A1) Calling "*DataStage*DSR_MESSAGE" Equate RoutineName To "SendMessageOnFailure...
by aluthra48
Thu Mar 05, 2009 1:47 pm
Forum: General
Topic: Specifying warning limits
Replies: 4
Views: 2145

chulett wrote:A Sequence job run with a warning limit will pass that limit along to all jobs it runs, meaning they will all inherit the warning limit of the controlling job. ...
Thank you, that will certainly do it.
by aluthra48
Thu Mar 05, 2009 1:21 pm
Forum: General
Topic: Specifying warning limits
Replies: 4
Views: 2145

If you have less jobs in your sequencer you can change the trigger condition as 'OK (Conditional)'. This indicates that next job has to run only if the current job finished with no warnings. That's the way my jobs are set up. However, I want the jobs to abort if my checkpoints and re-start is to fu...
by aluthra48
Thu Mar 05, 2009 1:04 pm
Forum: General
Topic: Specifying warning limits
Replies: 4
Views: 2145

Specifying warning limits

I have a sequence job with embedded sequence jobs executing multiple parallel jobs. I want to abort any one of these jobs if there are 1 or more warning messages. I know one can specify the limit in options in the director, but then the limits will, I believe, apply to ALL jobs, not only the ones in...