Search found 20 matches
- Thu Feb 21, 2008 3:51 pm
- Forum: General
- Topic: Access same hash file as look up from two different jobs
- Replies: 5
- Views: 2201
Cache sharing requires other things to be configured. You can read about these in dsdskche.pdf. Meanwhile do not enable cache sharing - the separate processes will create separate caches and, design ... O.K. will change. Then what should I do to be able to read the same hash file from two different...
- Thu Feb 21, 2008 3:48 pm
- Forum: General
- Topic: Access same hash file as look up from two different jobs
- Replies: 5
- Views: 2201
There's nothing required to make this work if both are just doing lookups. You've got a problem with the job itself that got back 0 rows. ... I am sure the two job should both return rows. Actually in the 0 row returned job, all the records are tranformed to the not found output link. When I run th...
- Thu Feb 21, 2008 2:31 pm
- Forum: General
- Topic: Access same hash file as look up from two different jobs
- Replies: 5
- Views: 2201
Access same hash file as look up from two different jobs
Hi all, I am running two jobs in parallel from a sequence. Both of the jobs are extracting data and using the same hash file (file name: hsh_max_batch_number) as look up stream. However, it always turns out that one of the job get all rows back and the other one get 0 rows back. In both of the job p...
- Wed Jul 14, 2004 9:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic code test error
- Replies: 3
- Views: 1789
- Tue Jul 13, 2004 3:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Basic code test error
- Replies: 3
- Views: 1789
Basic code test error
In a transform function, I have the code as following: (the two pass into parameters are: HashFileName, Key1) *-------------------------------------------------------------------------------------------------------------------------------------------- RoutineName = 'ReadMaxCenYear' Common/HashLookup...
- Tue Jun 29, 2004 4:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
That they can't be found on the reference link must be detected in your Transformer stage, probably in a constraint expression on an output link. You have two choices. You can test the value of the link variable oletgtPostalCdIn.NOTFOUND You can test whether oletgtPostalCdIn.postalcd_wid is null (m...
- Tue Jun 29, 2004 10:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
- Mon Jun 28, 2004 4:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
O.K. My first query(this is in the mainstream oledb stage): link name: oleRawTableIn SELECT DISTINCT postalcode , convert(datetime, (left(birth_date, 4) + '-' + substring(birth_date, 5, 2) + '-' + right(birth_date, 2))) as 'birth_date' , case ret_date when '19000001' then convert(datetime, '2999-12-...
- Fri Jun 25, 2004 3:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
Then simply bring in all rows from one and do the lookup against the other. You can also bring all of one into a hash, then stream the other in and do a lookup against the hash. Do you mean a user-defined query can not directly look up another user-defined query? BTW, I have already used a hashed f...
- Fri Jun 25, 2004 3:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
- Fri Jun 25, 2004 3:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: OLEDB CONNECTION STRING
- Replies: 2
- Views: 1632
Re: OLEDB CONNECTION STRING
HI, I have a doubt in OLEDB connection. In the conncetion string when i hard code the parameters for catalog & source it works fine,but when i pass parameters it is not working. I have give below how i passed the parameters.Is there any thing wrong with my approach ? Connection String: Provider...
- Fri Jun 25, 2004 2:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can a user-defined query looks up another user-defined query
- Replies: 12
- Views: 4629
Can a user-defined query looks up another user-defined query
In my job, I have two oledb stages (for data from different server and databases). Both of them out put data using user-defined query. Can 1 stage looks up the other one?
- Wed Feb 04, 2004 12:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Uer-defined sql question
- Replies: 7
- Views: 2904
Re: Uer-defined sql question
I figured it out. My new query statement is as the following: select 'N' as 'date_fl', max(dim_dt1) as 'dim_dt_id' from dim_dt where dim_dt1 is not null union select 'Y', max(dim_dt2) from dim_dt where dim_dt2 is not null The only difference is I used quotes around my column names. Thank you for eve...
- Tue Feb 03, 2004 1:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Uer-defined sql question
- Replies: 7
- Views: 2904
- Tue Feb 03, 2004 12:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Uer-defined sql question
- Replies: 7
- Views: 2904