Parallel Routine - can't use Environment Variables

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jtsoong
Participant
Posts: 29
Joined: Mon Oct 22, 2007 11:52 pm

Parallel Routine - can't use Environment Variables

Post by jtsoong »

Hi guys

Just wanted confirmation on something.

In a Parallel Routine (C++), you can specify the 'Routine Name' and the 'External Routine Name' and the 'Library path'.

I was hoping to have the 'Library path' read from the environment so that we can move through all our test phases.

However a Parallel Routine does not have 'Job Properties' like other jobs so there is no way to 'Add Environment Variable' as a parameter.

Am I missing something? or is it not possible to have a variable in a Parallel Routine.. :)

Cheers

Jon
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Library search path is an environment variable.

The library path of a routine ought not to change (probably). Does the routine definition complain if you omit it, and rely on the shared library search path to find the routine at run time?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply