Search found 10 matches

by jonamg
Mon Nov 28, 2011 9:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort the values in the column in ascending order
Replies: 14
Views: 4941

Re: Sort the values in the column in ascending order

Ray

Can i get any sample routine that sorts the values in the column?
by jonamg
Mon Nov 28, 2011 8:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort the values in the column in ascending order
Replies: 14
Views: 4941

Re: Sort the values in the column in ascending order

Here are distinct values that are in the field. I dont think we have combination of letters and numbers. 0 010160 1 1 2 1 2 3 1 2 3 5 1 2 3 7 1 2 5 1 2 5 6 1 2 5 7 1 2 7 1 3 1 3 5 1 3 5 6 1 3 5 7 1 3 6 7 1 3 7 1 5 1 5 6 1 5 7 1 6 1 7 12 123 12357 125 1257 127 13 135 13567 15 157 17 2 2 3 2 3 5 2 3 5...
by jonamg
Mon Nov 28, 2011 6:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort the values in the column in ascending order
Replies: 14
Views: 4941

Sort the values in the column in ascending order

Guys

I have a scenario where a column contains values like '1 5 2 6', '2 4 1 5 7', etc. The length of the column varies.
I want the output to be '1256', 12457' for the above values which means to trim the data and sort it.

Any suggestions how to implement it?
by jonamg
Wed Aug 25, 2010 12:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: char to timestamp
Replies: 2
Views: 1333

You convert using a in bulit function called StringToTimestamp() in the Transformer.
by jonamg
Fri Jul 16, 2010 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find Last Record.
Replies: 4
Views: 2714

Use Execute Command Sequence afte the reading the file you can execute the command tail -1 'filename' in it.
by jonamg
Mon Jun 27, 2005 7:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding Stage Name
Replies: 4
Views: 1895

Regarding Stage Name

Hi Folks,
I want to know whether we can grab the stage name???
by jonamg
Mon Apr 18, 2005 11:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Query on surrogate keys
Replies: 1
Views: 1094

Query on surrogate keys

hi,
help in the below query
How do we use surrogate keys? Is it possible to use two surrogate keys in same server job? if possible will it be correct or give errors?
thank you
jonam