Retrive a vlaue from one job and use that in a different job
Posted: Thu Aug 18, 2011 7:14 am
Retrive a vlaue from one job and use that in a different job while reading from source, In detail
I am reading from a table (oracle) and writing to a dataset (or if suggested can be a seqential file). From table i am select just one column for a max(vlaue) in the where condition and it is retrieving 1 row. so just one value is getting written to the dataset
I want to use that value in a different job while reading from a table. Like when querying the source table in the other job i want to use it in where condition.
select .... where column=<value>
I know we can do this with lookup stage and UNIX script but i want to know is there any why to do this with parameter.
Please suggest.
I am reading from a table (oracle) and writing to a dataset (or if suggested can be a seqential file). From table i am select just one column for a max(vlaue) in the where condition and it is retrieving 1 row. so just one value is getting written to the dataset
I want to use that value in a different job while reading from a table. Like when querying the source table in the other job i want to use it in where condition.
select .... where column=<value>
I know we can do this with lookup stage and UNIX script but i want to know is there any why to do this with parameter.
Please suggest.