How to pass the Calling Job dynamically in a Job Parameter

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
prashanto_dev
Participant
Posts: 27
Joined: Thu May 22, 2003 4:40 am
Location: California

How to pass the Calling Job dynamically in a Job Parameter

Post by prashanto_dev »

Hi,

I have a sequence in which we are using email notification act stage.
In the email we pass the calling Sequence Name (The seq which is calling the Email Act).

Right now we are passing the Seq Name as hardcoded value.

Can we avoid this hardcoding by using a parameter,so that it will get the seq name dynamically.
Can we somehow pass the calling job name value dynamically to a Parameter?

Thanks

Prashanto
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

AFAIK, the Email body in the Notification Activity does not support parameters. However, if it did you could try using the DSJobController macro there - that should get you the Sequence name.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply