Page 1 of 1

How to pass Job Name in one job Activity to another?

Posted: Mon Dec 13, 2004 5:00 pm
by DataStageCnu
Hi All,

I havn't used routines earlier, Could you plz assist me how to include some value in Job status in a job activity and how to retrieve in another job activity.
ray.wurlod wrote:
Use a job sequence to run the jobs.

In the job that generates the value, have it also place the value in that job's user status area.

In the next job, use Job2.UserStatus$ to retrieve the previous job's user status area value when loading the parameter value.
I also want to send job name to the next job activity. How can i do?

Adv thanks,
BB

Re: How to pass Job Name in one job Activity to another?

Posted: Mon Dec 13, 2004 8:54 pm
by changming
DataStageCnu wrote:Hi All,

I havn't used routines earlier, Could you plz assist me how to include some value in Job status in a job activity and how to retrieve in another job activity.
ray.wurlod wrote:
Use a job sequence to run the jobs.

In the job that generates the value, have it also place the value in that job's user status area.

In the next job, use Job2.UserStatus$ to retrieve the previous job's user status area value when loading the parameter value.
I also want to send job name to the next job activity. How can i do?

Adv thanks,
BB
can you do like this:
in first job, create and write a the value in a temp file.
in job two, read the jobfile to get the value then delete.
that is what i guess from your question. maybe things are more complex than i thought.