Search found 53125 matches

by ray.wurlod
Sat May 03, 2014 11:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to String
Replies: 19
Views: 8810

To me, "keeping" in this context means "transferring into the result". Perhaps "using" would have been a better participle.
by ray.wurlod
Sat May 03, 2014 9:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to String
Replies: 19
Views: 8810

But not "keeping the decimal point". The Field() function never keeps the leading or trailing delimiter.
by ray.wurlod
Sat May 03, 2014 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to String
Replies: 19
Views: 8810

ssnegi wrote:Yes field function can be used to extract from a decimal keeping the decimal point as the delimiter.
Not true. Observe the solution, in which a decimal placeholder was explicitly concatenated.
by ray.wurlod
Fri May 02, 2014 6:33 pm
Forum: General
Topic: external table force quoting
Replies: 3
Views: 1327

You might get better answers posting on a Oracle forum such as AskTom.
by ray.wurlod
Fri May 02, 2014 6:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Refresh Environments - Issue related to hashed files
Replies: 10
Views: 4684

Make sure to copy hashed files recursively (use the -r option with the cp command), since you must copy DATA.30, OVER.30 and .Type30 files). Probably the fastest way to refresh TEST from PROD is to discard the TEST environment and start by creating a new one. Next best is to be selective about what ...
by ray.wurlod
Fri May 02, 2014 6:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parse data
Replies: 13
Views: 5985

My earlier code assumed (incorrecly) that there was a colon between the string and the next time. The code can be changed to account for that - I leave it as an exercise for the reader, with the hint that you discard that part of the string already processed each iteration through the loop. As for y...
by ray.wurlod
Thu May 01, 2014 6:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to String
Replies: 19
Views: 8810

To clarify, the "suppress_zero" option removes only non-significant zeroes; that is, those to the left of that part of the decimal number to the left of the decimal placeholder and those following any non-zero digits to the right of the decimal placeholder.
by ray.wurlod
Thu May 01, 2014 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does Before-SQL works only for DML ?
Replies: 11
Views: 3629

Table Action = Replace will both drop and create the table, without checking whether metadata matches the existing table. It does not fail if the table does not already exist.
by ray.wurlod
Thu May 01, 2014 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector Internals
Replies: 6
Views: 3030

I don't believe there is any way to change default property settings in out-of-the-box stages (in general - though the Sequential File stage does allow default format to be selected).
by ray.wurlod
Thu May 01, 2014 6:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapper stage is not working
Replies: 4
Views: 1614

Why not use an External Filter stage?
by ray.wurlod
Wed Apr 30, 2014 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector Internals
Replies: 6
Views: 3030

The ODBC API is published by Microsoft Corporation. I'll have to research the link to developerWorks - don't have it with me.
by ray.wurlod
Wed Apr 30, 2014 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Header Section (variable num rows)
Replies: 7
Views: 1947

Welcome aboard. The short answer is Yes. Use stage variable to indicate whether you are in a detail row or not, initialized to @FALSE. Set the stage variable to @TRUE when the previous row (preserved in a later stage variable) contains BEGIN DATA, and set it to @FALSE when the current row contains E...
by ray.wurlod
Wed Apr 30, 2014 4:34 pm
Forum: General
Topic: istool syntax
Replies: 30
Views: 52296

The engine-side compile should be dscc
by ray.wurlod
Wed Apr 30, 2014 4:32 pm
Forum: General
Topic: Multiple parameterized instances in parallel
Replies: 5
Views: 1842

That's better, but the layout doesn't really jump out at me that actual_Sequence is in the loop (which I missed first time too). Perhaps a layout like this would make it clearer. ExtractBUNames ----> StartLoop <--------------- EndLoop | ^ | | V | uvBUName --------> NestedCondition | | V actualSequen...
by ray.wurlod
Wed Apr 30, 2014 2:43 am
Forum: General
Topic: Multiple parameterized instances in parallel
Replies: 5
Views: 1842

That's not obvious in your master sequence design. At the very least more information (Annotations) required. Why do you want to "do nothing" a number of times? This too is not clear.