Search found 8 matches

by Dee
Wed Dec 08, 2004 11:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4356

Hi David, The generated sql for table1 was SELECT PS_CUST_CONVER_HDR.SETID,PS_CUST_CONVER_HDR.CUST_ID,TO_CHAR(PS_CUST_CONVER_HDR.CONVER_DTTM_INIT, 'YYYY-MM-DD HH24:MI:SS'),TO_CHAR(PS_CUST_CONVER_HDR.CONVER_DT, 'YYYY-MM-DD HH24:MI:SS'),PS_CUST_CONVER_HDR.CONVER_SUBJECT,PS_CUST_CONVER_HDR.CONVER_SUB_T...
by Dee
Wed Dec 08, 2004 10:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4356

Hi, When I sent one of the tables through a hash file and then did the join, I was able to join the timestamp fields without any errors. The output is also as desired. Table1-Transformer-Table1 Table2-Transformer-Hash File-Table2 Then Table1 and Table 2 are joined. I am not sure how it worked. Just ...
by Dee
Mon Dec 06, 2004 5:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4356

Its an SQL server database. I am using DRS stages with only generated SQL. In the generated sql, the cast is TO_CHAR(FIELD, "YYYY-MM-DD HH24:MI:SS")I need to take fields from TABLE1 AND TABLE2 and input into TABLE1 based on certain conditions. One of the conditions is that the SETID, CUST_...
by Dee
Mon Dec 06, 2004 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4356

Hi, Thanks for the response. When I join the timestamp field in the two tables, I get an error saying 'Invalid character value for cast specification'. The SQL Type is a timestamp field of length 23 and scale 3. I am not sure why this is happening since the sqltype of input and output fields are the...
by Dee
Sun Dec 05, 2004 8:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4356

Timestamp Comparison

Hi, I am joining two tables in order to modify the data in one of the tables. For this I need to compare a timestamp field[yyyy-mm-dd 00:00:00.000] in these tables. Can you please let me know how to go about this. I did try using the ICONV expression but it returns a null value. (ICONV(FIELD(DSLink2...
by Dee
Wed Dec 01, 2004 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum of Effective Date
Replies: 3
Views: 1372

Hi,
Thanks a lot for the quick response. I did change the derivation as mentioned and used the GROUP BY clause in the Selection tab's Other Clauses field to make it work. The map is working fine.
Have a good one,
Deepa
by Dee
Tue Nov 30, 2004 7:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum of Effective Date
Replies: 3
Views: 1372

Maximum of Effective Date

Hi, I am new to Datastage. I need to retreive Maximum(EFFDT) value based on a condition for my update statement. I have read the earlier messages about using an aggregator stage or input MAX(EFFDT) in the selection tab of input stage. Is there any other way to do it without using either the aggregat...
by Dee
Wed Nov 24, 2004 7:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: I need to do multiple updates to one table in a single job
Replies: 2
Views: 859

I need to do multiple updates to one table in a single job

Hi, I am new to DataStage. I am required to do multiple updates on a single table. Each update statement is pretty complex with multiple joins to other tables. I am not sure how to proceed with this. I did read the messages in the forum on using the JOIN stage. But I cannot find this stage in the de...