How to use job parameters as the input

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
monaz
Participant
Posts: 98
Joined: Sat Aug 23, 2008 3:14 am

How to use job parameters as the input

Post by monaz »

Hi Can any one help me how to use the job parameter for the job.

Job-1 is giving the output as two feilds Id(param1) and the where_condition clause(param2).

job-2 will use the above feilds in as the parameter.
Can i know how to call the job parameter of job1.
because i want to use in the job2 SQL where condition(job param2- job1).

So please suggest how to proceed.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In Job 1 load both, separated by some convenient character such as tab, into the job's user status area.

In the job sequence retrieve Job1's user status area and decode into the two parameter expressions for Job2.
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