Search found 53125 matches

by ray.wurlod
Tue Jul 02, 2013 1:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning
Replies: 19
Views: 8512

It's mandatory for quite a few stages, including Join. Aggregator is not one of them, however incorrect results will obtain if you aggregate on incorrectly partitioned data. A deliberately constructed bad example produced a report on four nodes showing all 200 states of the USA! As noted earlier, (A...
by ray.wurlod
Tue Jul 02, 2013 1:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Invalid time
Replies: 10
Views: 3643

Only if the source data type is a string of some kind.

If the source data type is Date, then theoretically it can't be invalid unless it has more fractional seconds than are specified in your metadata, or is not constructed using the format specified in your metadata.
by ray.wurlod
Tue Jul 02, 2013 1:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: importing Oracle table definition changes data type
Replies: 1
Views: 865

Oracle is... different. Nowhere else in the world has VARCHAR2 as a data type. When you import this into DataStage it has to be translated into VarChar, as used by the rest of the world. With NLS enabled and an NLS character set specified for Oracle, DataStage uses NVarChar, by which it means VarCha...
by ray.wurlod
Mon Jul 01, 2013 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Validation Issue
Replies: 5
Views: 1884

You will get metadata mismatch errors/warnings when/if you do that.
by ray.wurlod
Mon Jul 01, 2013 4:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLSever - SQLSTATE = 42000, fNativeError = 2754
Replies: 3
Views: 2937

Is the user who is invoking from Datastage a member of sysadmin role?
by ray.wurlod
Mon Jul 01, 2013 4:36 pm
Forum: General
Topic: File empty after job
Replies: 14
Views: 4702

Look at the "job starting" event in the log for JobB to determine with what parameter values its run was requested.
by ray.wurlod
Mon Jul 01, 2013 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Validation Issue
Replies: 5
Views: 1884

Use a Transformer stage plus a reject link from the Oracle connector stage. In the Oracle Connector stage select the reject link and specify under which circumstances rows are to be directed to the reject link and what other information is to be added.
by ray.wurlod
Mon Jul 01, 2013 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning
Replies: 19
Views: 8512

Key-based partitioning IS needed in parallel jobs. A key-based partitioning algorithm will be selected under appropriate circumstances when (Auto) is left in place. This will always work but may be sub-optimal (for example other key-based algorithms than Hash exist). The nodes on which a Join stage ...
by ray.wurlod
Sun Jun 30, 2013 4:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate serial number
Replies: 9
Views: 2073

Only if your Transformer stage is executing in sequential mode. Otherwise the unqualified +1 approach is pretty much guaranteed to generate duplicates.

Depending on your target there are other strategies you can employ, such as a generated Surrogate Key or a database sequence.
by ray.wurlod
Sat Jun 29, 2013 4:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading records takes long time:Oracle enterprise stage
Replies: 7
Views: 3569

Is there any reason you're not using an Oracle Connector stage? Do some comparitive tests for this also.
by ray.wurlod
Sat Jun 29, 2013 2:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PARAMETERSET Values substitution issue in ODBC/DB2 stages
Replies: 9
Views: 4313

Please post the "job starting" event from the job log from an occasion when the job was invoked from a sequence. This event includes all parameter values received by the job.
by ray.wurlod
Sat Jun 29, 2013 2:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse lookup failed on different data type.
Replies: 4
Views: 2429

The IN list in the WHERE clause is still being evaluated as INTEGER values, so there is no danger of truncation. The CAST is in the SELECT clause, which only affects what is "displayed" (returned). You should get one row back for each value matched.
by ray.wurlod
Fri Jun 28, 2013 4:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse lookup failed on different data type.
Replies: 4
Views: 2429

Use CAST(RT.ID AS VARCHAR(10)) in the SELECT statement.
by ray.wurlod
Fri Jun 28, 2013 4:43 pm
Forum: General
Topic: Capture Reply for unix
Replies: 2
Views: 926

For job activity you don't get a UNIX exit status; you get a DataStage exit status (via the $JobStatus activity variable). Note in particular that, in a DataStage exit status, 0 does not mean "success" - it means "running". You're unlikely to see this downstream of a Job activity...
by ray.wurlod
Fri Jun 28, 2013 5:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get percentage (%) of match
Replies: 9
Views: 2195

You have to count the matching characters. Assuming you have version 8.5 or later you can do this using the looping capability in the Transformer stage. Or you create a routine.