Hi all,
Maybe someone can help answer this question. Is it possible to return data from a Hash File where the keys are equal except the date where it is less than or equal to the date of the source? Or is my only solution to use bind variables and use user defined sql?
Thanks
Search found 65 matches
- Mon Apr 02, 2007 11:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash Lookups and Transformers
- Replies: 5
- Views: 1204
- Fri Mar 16, 2007 11:02 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Bind Variable issues
- Replies: 11
- Views: 4146
Not sure if I should have started a new topic for this, but it is an issue related to bind variables. Does anyone know how I can compare two bind variables to each other in user-defined sql? I'm getting an error that I cannot compare ? = ? and I read that I need to use a cast statement on one of the...
- Mon Mar 12, 2007 8:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Bind Variable issues
- Replies: 11
- Views: 4146
- Fri Mar 09, 2007 12:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Bind Variable issues
- Replies: 11
- Views: 4146
Bind Variable issues
Hi, Can someone help me understand how to use the '?' in user-defined sql? I have a job that has a lookup joining 3 tables. One of the tables in the lookup is also the source table, so I am using the '?' to qualify source against lookup. My problem is when I try to run this job, my lookup returns no...
- Wed Mar 07, 2007 7:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Failing when data should match
- Replies: 8
- Views: 1999
- Wed Mar 07, 2007 4:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Failing when data should match
- Replies: 8
- Views: 1999
There are 5 keys with a char, date, smallint, smallint, and char datataypes. I am using LTRIM(RTRIM in the derivation in drs stage and TrimF(TrimB( on the key expression in the transformer. Something else I forgot to mention. I am joining 2 tables in the drs stage to populate the hash file. Will thi...
- Wed Mar 07, 2007 3:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Failing when data should match
- Replies: 8
- Views: 1999
All the data types are correct. I'm unsure of what you mean by check if your partitioning is correct? Sorry, but can you explain that please? The lookup file actually has data in the input and oddly enough output. But for whatever reason, it won't match the source. Also, I tried to run just the sour...
- Wed Mar 07, 2007 3:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Failing when data should match
- Replies: 8
- Views: 1999
Lookup Failing when data should match
Hi, Maybe someone can keep me from going insane here. My lookup fails for all rows when I know there are definitely rows that match between the source and lookup. The source is a drs stage connecting to DB2. My lookup connects to db2 via drs first and passes the dataset to a hashed file then to the ...
- Wed Jan 10, 2007 9:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML Parser Error
- Replies: 6
- Views: 1428
- Wed Jan 10, 2007 8:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML Parser Error
- Replies: 6
- Views: 1428
Well, I checked with the administrators again and they said all the users have proper write permissions. This is not something I have the power to check myself but when this problem arose before they were able to correct it by giving write permissions, so I can only assume they know what they're tal...
- Tue Jan 09, 2007 2:34 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML Parser Error
- Replies: 6
- Views: 1428
- Tue Jan 09, 2007 1:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML Parser Error
- Replies: 6
- Views: 1428
XML Parser Error
Hi all, I'm getting the following error when trying to compile a Sequencer: <JobSeqGenError> <Code>2017</Code> <Desc>XML parser error on input line 0: source='', reason=''</Desc> <LineNum>0</LineNum> <Line></Line> <Ref></Ref> <Version>7.5.0.25</Version> </JobSeqGenError> I've seen this error earlier...
- Mon Dec 18, 2006 4:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DB2 Datetime to Date
- Replies: 9
- Views: 4324
Internal format will work only if its defined as Date in the target database. If its timestamp then internal format wont work. Try Ray's suggestion, which is the same as Ken pointed out. If that doesn ... Yep, Ray's suggestion did work and you are correct about it having to be the Date datatype in ...
- Mon Dec 18, 2006 3:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DB2 Datetime to Date
- Replies: 9
- Views: 4324
- Mon Dec 18, 2006 2:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DB2 Datetime to Date
- Replies: 9
- Views: 4324
DB2 plugin works differently than Oracle or ODBC stages. If the datatype is DATE, the plugin will silently do an ICONV coming and OCONV going. Change the metadata in the job to TIMESTAMP and see if your problem goes away. In the future make sure you always change your metadata. Otherwise, just put ...