Search found 6797 matches
- Thu Jul 13, 2006 7:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Concatenating Timestamp With a Sequential file
- Replies: 33
- Views: 9458
Even i built a test job yesterday with DSJobStartTimestamp, but i never hit view data. I went at the unix level and did a cat. It wasnt reading it due to the space between the Date and Time. I just ran the job again and hit view data, and yes you are right, it is able to view data. But i would still...
- Thu Jul 13, 2006 7:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Getting Most Recent Date
- Replies: 9
- Views: 2061
- Thu Jul 13, 2006 7:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: slow changing dimensions Type 2
- Replies: 22
- Views: 6022
- Thu Jul 13, 2006 7:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Concatenating Timestamp With a Sequential file
- Replies: 33
- Views: 9458
- Thu Jul 13, 2006 6:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sorting any order
- Replies: 14
- Views: 2863
- Thu Jul 13, 2006 6:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wrong Parameters being passed while scheduled.
- Replies: 5
- Views: 1614
- Thu Jul 13, 2006 6:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Getting Most Recent Date
- Replies: 9
- Views: 2061
Well, i dont think a function exists. In server there is Compare(), but that wont even work over here because the number of columns is more than 2. As Kumar said, you can do this via if-then-else statements (lots of them for 10 columns). I would go for the case statement in sql. I know its labouriou...
- Thu Jul 13, 2006 6:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: strange problem with output hashed file
- Replies: 13
- Views: 3867
- Thu Jul 13, 2006 6:26 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Concatenating Timestamp With a Sequential file
- Replies: 33
- Views: 9458
It may be because of the timestamp format eg "14:44:36" as unix has problem creating/reading file having ":" in the name Says who. The problem is not with the charcter ":" but instead a space. The macro "DSJobStartTimestamp" creates a date part and a time part with a space between the date and time...
- Thu Jul 13, 2006 6:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NOt in look up
- Replies: 3
- Views: 1223
- Wed Jul 12, 2006 1:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sorting any order
- Replies: 14
- Views: 2863
- Wed Jul 12, 2006 1:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: converting a stored procedure into a parallel job?
- Replies: 4
- Views: 2117
Basically in other words, you need to update your target table with only the first five records from the input. or there is more to it, because that sounds a bit to easy. Take you input (file, table), constraint it only to the first five records and update your table. I know there is more to it than...
- Wed Jul 12, 2006 1:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Getting Most Recent Date
- Replies: 9
- Views: 2061
- Wed Jul 12, 2006 1:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: CFF Stage
- Replies: 7
- Views: 1460
- Wed Jul 12, 2006 12:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Getting Most Recent Date
- Replies: 9
- Views: 2061
Kris, do it in the sql itself
Code: Select all
select max(maxdate) as maxdate
from
(select date1 as maxdate
from table
union
select date2 as maxdate
from table
union
select date3 as maxdate
from table
) as Temp