Search found 61 matches

by rsaliah
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

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.
:wink:
by rsaliah
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

OK, hopefully I haven't misunderstood. But the way I would do it is to extract all the rows and only keep the one I need. I would probably do this using Stage Variables or easier still in an aggregator stage.
by rsaliah
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?
by rsaliah
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...
by rsaliah
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...
by rsaliah
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 :oops:. Should of read the question properly. Thought they were looking for the first 0.
by rsaliah
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...

Code: Select all


LOCATE '0' IN vArray SETTING vPos THEN
  Something.....
END ELSE
  Something else.....
END

Ans = vPos

Check out the DS Basic manual for more/better help.

Regu.
by rsaliah
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

please ignore - should've read the manual!! didn't realise I could do command line dsjob with a -server option. :oops:
by rsaliah
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

How about loading to a hash file. You can have multle inputs to the same file. Obviously make sure your keys are unique and since you don't know which link will write first ensure that the file is cleared prior to the job running.
by rsaliah
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.
by rsaliah
Wed Apr 13, 2005 6:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compare string
Replies: 10
Views: 3445

that's great - thanks.
by rsaliah
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...
by rsaliah
Wed Apr 13, 2005 4:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compare string
Replies: 10
Views: 3445

Thanks and you're right the joys of name/address data.... can you give me a bit more info about "bubble-sort". I'm guessing it'll be something like load the string to an array and sort it on the way out, but it's the sorting on the way out bit that I need help with.

Cheers,
Regu.
by rsaliah
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 ...
by rsaliah
Fri Nov 05, 2004 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file normalization problem
Replies: 3
Views: 2325

Hi Ray, I can't do the tracing thing until Monday because I'm working remotely today with no access to DS. I have run the command though and got the following result... DataStage/SQL: Invalid association operation: Column "f2" in an association must be MULTIVALUED. mmm... This TCL stuff is...