Just to add to the previous post... Even if your source isn't a Seq file there's nothing stopping you from writing it to a Seq file and using that same method.
Search found 61 matches
- Wed Aug 10, 2005 7:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: many columns concatenation into one field
- Replies: 4
- Views: 1045
- Wed Aug 10, 2005 7:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Identify recent record by date
- Replies: 10
- Views: 2948
- Wed Aug 10, 2005 7:36 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Identify recent record by date
- Replies: 10
- Views: 2948
Re: Identify recent record by date
Is there a reason why you can't sort the data to get the max date?
- Wed Aug 10, 2005 5:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Seq file creating
- Replies: 3
- Views: 1397
Re: Seq file creating
If I understand your question correctly then the "Overwrite Existing file" check on the Seq File stage does just that. It doesn't delete the file and recreate so the "Created" timestamp remains the same. If that's what you really need to do then you can do it in a before job rout...
- Wed Aug 10, 2005 2:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Function to return the first non zero parameter
- Replies: 13
- Views: 3863
Re: Change to spec
Hi, '@AM' is the same as the system variable '@FM'. Both equate to a CHAR(254). You can get some info from the DS Basic guide which should be installed on the DS client. Your syntax looks fine. But it depends where it's being used. For this type of thing you have a choice of building the array befor...
- Tue Aug 09, 2005 8:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Function to return the first non zero parameter
- Replies: 13
- Views: 3863
Re: Function to return the first non zero parameter
Doh . Should of read the question properly. Thought they were looking for the first 0.
- Tue Aug 09, 2005 6:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Function to return the first non zero parameter
- Replies: 13
- Views: 3863
Re: Function to return the first non zero parameter
One more suggestion would be to use LOCATE statement on your array.
something like...
Check out the DS Basic manual for more/better help.
Regu.
something like...
Code: Select all
LOCATE '0' IN vArray SETTING vPos THEN
Something.....
END ELSE
Something else.....
END
Ans = vPos
Regu.
- Thu May 05, 2005 4:15 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Invoke DS job on another installation
- Replies: 1
- Views: 1169
- Thu May 05, 2005 2:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to avoid using flat files & connect transformers out
- Replies: 22
- Views: 6010
- Thu May 05, 2005 2:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Invoke DS job on another installation
- Replies: 1
- Views: 1169
Invoke DS job on another installation
Gents,
We have two installation of DS (one NT and one UNIX). I need to invoke one of the jobs on the NT installation from a job on the UNIX installation and if that job is successful continue processing on UNIX. Any ideas on how I can do this would be appreciated.
Regu.
We have two installation of DS (one NT and one UNIX). I need to invoke one of the jobs on the NT installation from a job on the UNIX installation and if that job is successful continue processing on UNIX. Any ideas on how I can do this would be appreciated.
Regu.
- Wed Apr 13, 2005 6:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Compare string
- Replies: 10
- Views: 3445
- Wed Apr 13, 2005 4:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Compare string
- Replies: 10
- Views: 3445
Thanks Ray - I did try and get the company looking at the Product but they decided they could do it better and cheaper.... 9 months and a whole lot of caveats later there still trying. All I need to do is test a small bit of their code by replicating the same type of functionality in DS. They've use...
- Wed Apr 13, 2005 4:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Compare string
- Replies: 10
- Views: 3445
- Wed Apr 13, 2005 4:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Compare string
- Replies: 10
- Views: 3445
Compare string
Hi Gents, I have a situation where I need to compare the contents of two columns. Easy enough I hear but there are catches. It need to be case insensitive and only compare alphanumeric characters. Now I'm ok up to this bit but what I need to also is demonstrated by this example. String 1 = "Mr ...
- Fri Nov 05, 2004 3:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash file normalization problem
- Replies: 3
- Views: 2325