Page 1 of 1

using Environment Variables in Trigger Expression

Posted: Tue Jul 24, 2007 2:27 pm
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

Posted: Tue Jul 24, 2007 11:31 pm
by ray.wurlod
Report the bug in MJC to IBM. In the meantime you have your workaround; compile the job sequence separately.

Posted: Wed Jul 25, 2007 9:58 am
by asitagrawal
Hi Ray,

Nice info, thx :)

Hey, is there any resoultion been provided by IBM? Any patch etc ?

Posted: Wed Jul 25, 2007 1:06 pm
by ray.wurlod
Surely you should be asking that question of your support provider!

I'm not aware of any.

Posted: Wed Jul 25, 2007 1:16 pm
by asitagrawal
Thx for the info !