Search found 42189 matches

by chulett
Thu May 22, 2014 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field value to the length of the column
Replies: 13
Views: 4860

harikhk wrote:PAD_CHAR helps for right padding. I am looking for a left padding option
I was specifically responding to a scenario where the field was only populated with pad characters - your NULL string. In that case left vs. right makes no difference.
by chulett
Thu May 22, 2014 3:35 pm
Forum: General
Topic: Cluster vs SMP
Replies: 10
Views: 4590

you would not want to find out after a physical failure that all such LPARs were running on the same physical unit. That never happens. :wink: We recently found out that our wonderful hardware partner has almost all of our virtual servers - dev, test *and* production - on a single physical server. ...
by chulett
Thu May 22, 2014 2:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field value to the length of the column
Replies: 13
Views: 4860

An actual NULL field would be just two quotes with nothing between them. If you want a string of equivalent size filled with spaces for your fixed-width file, there is a Spaces() function from what I recall so Spaces(6) would work for your example. Or a CHAR field with the PAD_CHAR set to 0x20 shoul...
by chulett
Thu May 22, 2014 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field value to the length of the column
Replies: 13
Views: 4860

The performance of B has already been answered, did you click on the link in my earlier reply?
by chulett
Thu May 22, 2014 1:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field value to the length of the column
Replies: 13
Views: 4860

Was wondering if being an Integer made a difference. Could you make it a decimal with a scale of zero? But then you'll also get a space reserved for the sign, from what I recall, maybe even one of them pesky decimal points.
by chulett
Thu May 22, 2014 12:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1088

New thread? No. I would prefer this goes back to the original thread where your data examples and requirements are...
by chulett
Thu May 22, 2014 12:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field value to the length of the column
Replies: 13
Views: 4860

B is more efficient. This should only be an issue with string fields, for numeric values the 'padding' with zeroes should be happening automatically. Are you not seeing that?
by chulett
Thu May 22, 2014 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1088

Then you need to explain in gory detail with examples what exactly that means. Your exact syntax, what you get, what you want to get, etc. I'm sure the expression itself is working fine, I'm assuming it is just not working as you'd like it in the grand scheme of things. We should probably be having ...
by chulett
Thu May 22, 2014 9:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IF THEN ELSE Function
Replies: 6
Views: 1088

Why not sort the data appropriately?

However, that wouldn't stop your if-then-else derivation from 'working'.
by chulett
Wed May 21, 2014 1:39 pm
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: ISD stages license requirnment
Replies: 6
Views: 5973

Let's get you off into the proper forum for this... here we are.

When you say "use" you actually mean "deploy", yes?
by chulett
Wed May 21, 2014 10:25 am
Forum: General
Topic: while importing jobs in datastage 9.1.2
Replies: 3
Views: 1720

Not a DataStage change at this point, he is asking about the characterset your PC is set to. What Windows version are you running? From what I recall, different versions hide that NLS_LANG setting in different places...
by chulett
Wed May 21, 2014 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writting into hashed files is taking lot of time
Replies: 2
Views: 2187

ps. Use code tags for your job designs, not quote tags. Code preserves whitespace and keeps everything lined up, everything else removes 'extra' whitespace and all text gets trimmed and left justified.

I fixed your example for you.
by chulett
Wed May 21, 2014 7:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writting into hashed files is taking lot of time
Replies: 2
Views: 2187

First question in this situation is always have you done anything to 'size' the hashed file properly for that volume - meaning not left it with the default Minimum Modulus value of 1? You should have something called the Hashed File Calculator that Ray wrote somewhere in an 'Unsupported' directory w...
by chulett
Wed May 21, 2014 6:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handle 'm/d/yyyy' and 'mm/dd/yyyy'
Replies: 6
Views: 2079

As noted, sounds like you are getting bad date values. You might want to use an IsValid check before you do the conversion and only convert good dates.

Funny, saying "bad dates" always makes me think of Indiana Jones and that poor monkey. Ok, maybe not all that funny.
by chulett
Tue May 20, 2014 6:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while compiling custom operator code
Replies: 8
Views: 2293

Trick question? :wink:

Sure look to be some, they are the issue with their relative paths it would seem.