Search found 53125 matches

by ray.wurlod
Mon Oct 11, 2010 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rounding Issue
Replies: 6
Views: 2317

floor and ceil are giving correct results (assuming you're applying that before removing the sign).

From memory, the behaviour of rounding is determined additionally by whether the preceding digit is odd or even when the least significant digit is 5. Try it with 10690164.345.
by ray.wurlod
Mon Oct 11, 2010 1:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot Stage
Replies: 10
Views: 2964

naveen.p wrote:Hi Ray,

Kindly Help me out in arriving the solution with aggregator.

Naveen.
Group by item, sum the other three columns.
by ray.wurlod
Mon Oct 11, 2010 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading excel file
Replies: 7
Views: 3642

Table name should be $mappings as I observed earlier.
by ray.wurlod
Mon Oct 11, 2010 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: node setting
Replies: 11
Views: 2078

To do that your configuration file will need to name node pools. Once node pools exist, your stages can each be restricted to run in a particular node pool.
by ray.wurlod
Mon Oct 11, 2010 1:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Date
Replies: 10
Views: 2687

Maximum and minimum functions in the Aggregator stage work happily with decimal data types, or you can use stage variables in a Transformer. In a Transformer you can use IsValid() functions to test whether the string (an implicit conversion) is valid as a date.
by ray.wurlod
Mon Oct 11, 2010 1:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot Stage
Replies: 10
Views: 2964

It's still not a pivot - it's an aggregation. Use an Aggregator stage (or stage variables in a Transformer stage if you must). It's not a pivot. You won't solve it with a Pivot stage.
by ray.wurlod
Sun Oct 10, 2010 10:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing value
Replies: 5
Views: 1379

But if it's the output value surely the job is finished?
by ray.wurlod
Sun Oct 10, 2010 8:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing value
Replies: 5
Views: 1379

If one job writes a file another job can read that file.

If one job writes a value into its user status area, its controlling sequence can access that value and pass it to another job as a parameter value.
by ray.wurlod
Sun Oct 10, 2010 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading excel file
Replies: 7
Views: 3642

The main trick is that Excel worksheets present as "system tables". Therefore, you need to import the table definitions with "include system tables" option checked. It is also a requirement (of the ODBC driver for Excel, not particularly of DataStage) that the worksheets have the...
by ray.wurlod
Sat Oct 09, 2010 10:18 pm
Forum: General
Topic: How to execute test cases
Replies: 6
Views: 3542

Document your expectations, run sequence to determine actual behaviour, document/explain any anomalies. Standard stuff.

A common technique for causing abort situations is to provide invalid values for job parameters.
by ray.wurlod
Sat Oct 09, 2010 2:15 pm
Forum: General
Topic: Need Log for all 32 runs
Replies: 6
Views: 1897

That method will only work for newly-created jobs. For existing jobs go to Director client, select the job in question. and choose Clear Logs from the Job menu. This will open a dialog in which you can set the auto-purge options for that job only. Logs are stored in a database table, either in the l...
by ray.wurlod
Sat Oct 09, 2010 4:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 'Archive' a datastage project
Replies: 1
Views: 1777

The easy way would be to change all the permissions on the server to read-only for the project directory and its contents. Exporting from that project will not cause any logs to disappear.
by ray.wurlod
Sat Oct 09, 2010 4:50 am
Forum: General
Topic: Need Log for all 32 runs
Replies: 6
Views: 1897

Change your auto-purge settings for that job to be either more than 32 runs or days-based.
by ray.wurlod
Fri Oct 08, 2010 4:00 pm
Forum: General
Topic: How to execute test cases
Replies: 6
Views: 3542

Testing DataStage is not especially different from any other software, in that you are looking to compare actual with expected results. The main difference is that your expected result may be success/failure of a run, graceful handling and reporting of exceptions, or maybe number of records processe...
by ray.wurlod
Fri Oct 08, 2010 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: New IBM Redbook on DataStage
Replies: 2
Views: 4082

The document could still benefit from some rigorous proofreading.