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.harikhk wrote:PAD_CHAR helps for right padding. I am looking for a left padding option
Search found 42189 matches
- 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
- 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. ...
- 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...
- 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
- 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
- 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
- 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?
- 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 ...
- 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
- 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
- Wed May 21, 2014 10:25 am
- Forum: General
- Topic: while importing jobs in datastage 9.1.2
- Replies: 3
- Views: 1720
- 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
- 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...
- 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
- 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