Search found 504 matches
- Wed Oct 03, 2012 5:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To stop records after the value *
- Replies: 16
- Views: 9990
- Wed Oct 03, 2012 4:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Records flow one by one to Lookup table.
- Replies: 13
- Views: 7327
- Wed Oct 03, 2012 4:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need logic..
- Replies: 3
- Views: 2828
- Fri Sep 28, 2012 9:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: getting error on 00000000 while doing stringtodate
- Replies: 14
- Views: 5444
Seriously? What Craig meant, was that if your target DB has the field set as DATE then when you look at the value and see 09-12-32, that is just the representation of the date in which ever tool you are using. If you would like to see it represented otherwise, either change the settings in the view ...
- Fri Sep 28, 2012 7:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Records flow one by one to Lookup table.
- Replies: 13
- Views: 7327
- Mon Sep 10, 2012 7:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parrallel Transformer Loop question
- Replies: 7
- Views: 7807
Re: Parrallel Transformer Loop question
1- I need to include the 'Line' column in my output as shown in my example 2- The input file doesn't contain a fixed number of columns, i mean it could be three columns or more! :S Ok you will need to do the following: 1. Have a stage variable which determines the number of columns that you have. 2...
- Mon Sep 10, 2012 7:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parrallel Transformer Loop question
- Replies: 7
- Views: 7807
Or to remove the if then else from the loop variable, you could have 2 stage variables, sv1: containing the input header names - ie a literal string 'Line1|Line2|Line3' sv2: containing the row input values (as suggested by bhasds) You can then replace the loop variable with lv1: sv1['|',@ITERATION,1...
- Fri Aug 31, 2012 7:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Usage of TrimLeadingTrailing
- Replies: 10
- Views: 6090
I suggested that IsValid had an issue, mainly because of your original post which suggested that it was the TrimLeadingTrailing giving the incorrect result, when actually your incorrect result was because the IsValid determined that the string '0123 abc' was a valid decimal and thus created an outpu...
- Fri Aug 31, 2012 6:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Usage of TrimLeadingTrailing
- Replies: 10
- Views: 6090
Well you could try the NUM() function in conjunction with IsValid(). I am pretty sure NUM() will return true for 0123 and 0123.01 or 123.456, but false for 0123 abc. Also I am pretty sure that the isvalid test won't actually test whether the input string has the relevant precision rather that it can...
- Fri Aug 31, 2012 6:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Usage of TrimLeadingTrailing
- Replies: 10
- Views: 6090
- Fri Aug 31, 2012 6:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Usage of TrimLeadingTrailing
- Replies: 10
- Views: 6090
Its actually the IsValid test that is not working. If you were to pass your input un trimmed into the IsValid test you would probably find that it returns TRUE. TrimleadingTrailing is used to remove space from the beginning and end of fields and leave multiple spaces in the middle of a string if the...
- Fri Aug 31, 2012 5:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Usage of TrimLeadingTrailing
- Replies: 10
- Views: 6090
Re: Usage of TrimLeadingTrailing
Did you try outputting the return value of the trim function to see what was actually output?arpitchopra wrote:I have a feeling that this is because of the Trim function (which sees the space and discards everything after that space).
- Fri Aug 31, 2012 1:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: APT_combined operator controller error
- Replies: 1
- Views: 1448
Well the reason for the error is because there an error converting from a string to a date somewhere in your job. If you want to see where in the job the problem is you can add the environment variable APT_DISABLE_COMBINATION and set to true. Did the job abort as part of a sequence? If so then an er...
- Thu Aug 30, 2012 9:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NullToEmpty() & Len() --> Combination !
- Replies: 4
- Views: 5845
- Thu Aug 30, 2012 4:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join Stage
- Replies: 3
- Views: 1556