Search found 45 matches

by bchau
Fri Jul 07, 2006 2:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Its very urgent!!Please reply
Replies: 28
Views: 15762

heh, i guess i'm too weak, eh? Couldn't resist not replying.
by bchau
Fri Jul 07, 2006 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Its very urgent!!Please reply
Replies: 28
Views: 15762

This can also be done in a routine where the routine returns a string that includes line feeds based on the number of days. The output of your transformer needs to only have 1 column and writes to a sequential file tho. I believe the custom stage would be better performancewise.
by bchau
Fri Jul 07, 2006 1:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Its very urgent!!Please reply
Replies: 28
Views: 15762

You really shouldn't set your topic to "urgent" cuz everyone's issue is urgent in their own eyes. Your topic should be set to a brief discription of your problem. Saying that your problem is "urgent" will not make the users answer your questions any sooner. Please realize that mo...
by bchau
Thu Jul 06, 2006 8:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Supress extra Carriage returns
Replies: 21
Views: 5021

I'm not sure what your data volume is, but if there aren't many records, you could read the data as one big column. In our Sequential File Stage under Stage tab. There is a Line Termination selection. Select "None" and read all lines into 1 column. In your transformer you can use the conve...
by bchau
Thu Jul 06, 2006 2:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage-Type conversion from string to date
Replies: 5
Views: 1612

oops my bad ray, i missed that. Thank you for the correction ;)
by bchau
Thu Jul 06, 2006 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage-Type conversion from string to date
Replies: 5
Views: 1612

Try date_from_string[%dd-%mm-%yyyy](input column)
by bchau
Tue Jun 27, 2006 11:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash Partitioning
Replies: 8
Views: 3321

You could use a Remove Duplicates stage and set it to retain the last row.

I don't have access to EE atm but I do believe that link sort can also be used to remove duplicates if you enable unique and stable sort.
by bchau
Mon May 22, 2006 10:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSRoutine
Replies: 8
Views: 2249

Thats fine..My problem is, can a routine return more than one value. :idea: Eg: I am getting a string, Hi,How,Do,You,Do So in the string i have to extract the strings dilimited with commas.i.e, Hi How Do You Do I have to pass these values to my next Jobactivity as parameter.. :arrow: Can you provid...
by bchau
Tue Aug 09, 2005 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapper problem
Replies: 3
Views: 1312

I've had a similar problem with a build-op stage. When I click on the "generate" button, it would just close the window without reporting anything. I noticed that the build-op stage was "read only", so I had to contact support and they removed the "read only" tag and I ...
by bchau
Mon Jul 25, 2005 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 27
Views: 10910

Re: clarification..

narayana_382 wrote:hi saravan,

kindly tell me what does D2-YMD[422]),"D2-DMY[224] this part of the IConv function exactly... does??

naraine.
YMD corresponds to year/month/day....the [422] indicates a format like YYYY-MM-DD

DMY[224] ---> DD-MM-YYYY
by bchau
Sun Jul 24, 2005 6:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 27
Views: 10910

yes it can, but I dont think your job will run in parallel in a basic transformer. It does become a bottleneck of a parallel job from what i hear.
by bchau
Tue Jul 12, 2005 2:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert DATE in internal format for comparison
Replies: 5
Views: 3256

Hi I was wondering if there would be an error if I enter Feb 31 as the argument for JulianDayFromDate function. Or does it automatically convert it to Feb 28/29?
by bchau
Thu Jun 30, 2005 6:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to join two aggregator
Replies: 5
Views: 1779

Isn't a lookup stage faster? Or is the difference negligible because it is only 1 record?
by bchau
Thu Jun 30, 2005 6:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to join two aggregator
Replies: 5
Views: 1779

From my limited experience with EE, I think you have to use an intermediate stage. Using a lookup stage would be the faster as it loads the information in memory. Use the lookupstage to merge the two outputs from the aggregators so you have a record with 2 columns. Then fire the output of your looku...
by bchau
Tue Apr 05, 2005 11:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate variable output records per input record
Replies: 12
Views: 4521

Ok I got it with the str(inputlink_field:char(13):char(10),Count):inputlink_field.
No Subroutine call, this is great!

It works perfectly, thanks again Ray for the guidance.