Search found 21 matches

by Optico
Wed Sep 24, 2003 2:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Combine two Files.....
Replies: 4
Views: 946

Ray's suggestion is OK, but you have to beware that the first file in the concatenation ends with a line termination character (in DOS/Windows CrLf). Otherwise you'll loose the first record of the second file and the last record of the first file will look very funny indeed. B. Sorensen, Optico IT ApS
by Optico
Wed Sep 24, 2003 2:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sort/Merge not giving me the Right result.
Replies: 2
Views: 666

Or if you don't want to use a merge stage, you can read the two sequential files throug two 'empty' transformer stages into a hashfile using Member_Num and Member_Type as keys. Then use the hash-file as input to a sort-stage sorting on 'Member_Num asc, Member_Type asc.' and pass the outlink to your ...
by Optico
Fri Sep 19, 2003 5:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look up to Hash File
Replies: 5
Views: 981

Hi.

As far as I know all lookups are done as '=' (equal to).

Use a constraint to only pass the data where your source file date is within the start/end date criteria.



B. Sorensen,
Optico IT ApS
by Optico
Thu Sep 18, 2003 6:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Im confused
Replies: 30
Views: 8983

Hi everybody. It seems that there are many ways to solve this problem. We at Optico has solved it by writing a short routine that emulates the SQL 'IN' functionality. E.G. in a constraint we have the following to check whether a specific user is in the list of users to run for : In(TrimB(Input.cluse...
by Optico
Thu Sep 18, 2003 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Math on date values
Replies: 3
Views: 2879

Hi. We have a number of date routines cooked up if you are interested. For your problem you could call our routine DateAdd like this : DateAdd(Date as timestamp, "MON", 1) And you would get your new date as a reply. Drop us a line if you are interested. The routines are a bit large to incl...
by Optico
Wed Sep 17, 2003 10:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calculate number of months between 2 dates
Replies: 4
Views: 2107

This is a somewhat late reply, but hopefully you'll enjoy it even more then :-) We have built a couple of date-routines that you might like. Amongst others we have DateDiff and DateAdd routines where the developer can choose to use year, month, day, hour etc. for calling. All routines use Date/times...