I want to assign a value coming form an input link to the job parameter in the same job.
I'll then use this job parameter in the sql query to pass an argument to Stored proc, as we cannot use the input linkdirectly to pass to the stored proc argument.
Can anybody please help me with how to pass the value coming form an input link to the job parameter in the same job.
Assign a value to the job parameter in the job itself.
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 42
- Joined: Tue Jan 24, 2006 9:11 am
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
Balaji is correct you cannot assign a parameter in one job. You need to break this up into 2 jobs. Normally you would do this in a batch job. A batch job is one with only job control code. In 7.5.1 you can use a routine activity and return its arguments and assign them to variables. These can be used in setting parameter values of jobs run after calling this routine. This works very well. The batch job concept works very well in older versions of DataStage.
Mamu Kim