using Environment Variables in 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
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

using Environment Variables in Trigger Expression

Post by asitagrawal »

Hi,

I am facing a problem, like this:

The job design is this Job Design.

Now the sequence has 2 environment variables, $APEPMSYNCH and $AMEPMSYNCH.
I am testing for the values of these variables on the trigger link of Nested Condition stage,
"AP_EPM" and "AM_EPM".

Now, when I compile the job sequence only, it does not complain for for any error.
When the sequence is getting compiled by "Multiple Job Compile", the sequence gives err for $AMEPMSYNCH & $APEPMSYNCH not defined.

But when I compile ONLY this sequence , again using Multiple Job Compile it gets compiled well.

I dont know what is wrong and where ?

I have tried using a normal Job parameter on the trigger link expression, but that also behaves the similar way.
is it like that we cannot use any Environment or job params in the trigger expression ?


Alternatively, please suggest some workarounds ..

Thx
Share to Learn, and Learn to Share.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Report the bug in MJC to IBM. In the meantime you have your workaround; compile the job sequence separately.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Post by asitagrawal »

Hi Ray,

Nice info, thx :)

Hey, is there any resoultion been provided by IBM? Any patch etc ?
Share to Learn, and Learn to Share.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Surely you should be asking that question of your support provider!

I'm not aware of any.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
asitagrawal
Premium Member
Premium Member
Posts: 273
Joined: Wed Oct 18, 2006 12:20 pm
Location: Porto

Post by asitagrawal »

Thx for the info !
Share to Learn, and Learn to Share.
Post Reply