Trigger Expression

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pandu80
Participant
Posts: 50
Joined: Fri Apr 08, 2005 5:56 pm

Trigger Expression

Post by pandu80 »

Hi,

I have 5 Job Activities in a sequence job.And I have declares a Job Parameter.
Based on the Job Parameter value, From the job Activity1, it will trigger the Job Activity2 or
Job Activity3.Here, I have written a Trigger Expression like Substrings(jobparameter,1,3)='xyz'
It should trigger a Job Activity2 else Job Activity3.

While compiling this sequence job, it gives a error like
Trigger Expression lnk_Job Activity2 - 'Job Parameter' not defined.Anyhelp would be highly appreciated.
I have defined the Job parameter.

TIA
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Ensure that 'jobparameter' is a job parameter of the sequence.
pandu80
Participant
Posts: 50
Joined: Fri Apr 08, 2005 5:56 pm

Post by pandu80 »

after working for 1 or 2 weeks it gives this problem.
Sainath.Srinivasan wrote:Ensure that 'jobparameter' is a job parameter of the sequence.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

So... what has changed between when it was working and now?

Be prepared to look outside the job - even if nothing has changed in the job, something has clearly changed somewhere!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

There can be several reasons for this. Some of them are

1.) Someone removed the parameter from your job
2.) Someone included the check in your job
3.) The data flow never used that route in the past and was not tested for

So you are in the best seat to drive the show.
Post Reply