Exported vars, can b used with scripts used in DataStage?

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
videsh77
Premium Member
Premium Member
Posts: 97
Joined: Thu Dec 02, 2004 10:43 am
Contact:

Exported vars, can b used with scripts used in DataStage?

Post by videsh77 »

I am invoking DataStage job using dsjob, within a shell script.

In this shell script I have variable declared - SCRIPTS_HOME & is exported.

DataStage job has some shell scripts in its before & after routine. Can this
SCRIPTS_HOME be available with shell scripts used in before & after routine?
Thanks with regards,
videsh.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

No. Not without adding it to the environment variables within the project. The jobs run as phantoms which mean they connect to DataStage separately from the process that started it.
Mamu Kim
Post Reply