Search found 53125 matches

by ray.wurlod
Thu Jul 07, 2011 3:00 pm
Forum: IBM QualityStage
Topic: Error in Match Reference Job
Replies: 9
Views: 4723

It would be easier if you posted the exact error message(s). I have never seen errors caused by data (apart from NULL in the wrong place).
by ray.wurlod
Thu Jul 07, 2011 2:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decide load method at run time
Replies: 1
Views: 1001

Separate jobs. Put the logic in the sequence that decides which job to run.
by ray.wurlod
Thu Jul 07, 2011 2:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find rejected record count without reject link.
Replies: 3
Views: 1692

This is a joke, right?

You must have a reject-handling link if you want to obtain information about rejected rows (of course, these will probably be captured in the database logs, but that's a whole different story).
by ray.wurlod
Thu Jul 07, 2011 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfer all tables in a DB2 to Oracle database
Replies: 9
Views: 3620

Why not make ETL_DATE data type Date?

While you're testing, lose the Oracle stage and replace with a text file. Then use one function at a time building the expression in the Transformer stage.

You really should have told us the precise error that was thrown, too.
by ray.wurlod
Thu Jul 07, 2011 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Iconv & Oconv logic
Replies: 6
Views: 4350

@DAY is the day of the month. It only has values between 1 and 31. So applying that Oconv() function to it could only yield values in the range "1968-01-01" through "1968-01-31". Clearly you executed it on the seventh of the month. To put it another way, @DAY and @DATE are not th...
by ray.wurlod
Thu Jul 07, 2011 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: configuration file
Replies: 4
Views: 1670

In my experience everything with pool names requires the configuration file to be named at design time. This is frustrating, because I prefer to use $APT_CONFIG_FILE with its default set to $PROJDEF, but I have to change this in order to effect the design, then change it back once the design is ready.
by ray.wurlod
Thu Jul 07, 2011 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfer all tables in a DB2 to Oracle database
Replies: 9
Views: 3620

You don't need to define mapping - just enable RCP on the output of the Copy stage. If you need to generate current date into a particular column in the target table, do that in a Transformer stage or a Column Generator stage, with RCP enabled to handle the other columns. Hopefully the current date ...
by ray.wurlod
Thu Jul 07, 2011 12:39 am
Forum: General
Topic: SQL Server stored procedure Vs Datastage.
Replies: 6
Views: 3065

Tell us how they fare with Postgres.
:wink:
by ray.wurlod
Thu Jul 07, 2011 12:37 am
Forum: General
Topic: Using $Counter in ExecCommand
Replies: 5
Views: 2256

Don't know if it's better, but I usually pipe the result through a tr command to convert all linefeeds to comma (or tab or whatever) and a sed command to get rid of the final empty line if there is one. There's more than one way to skin a cat, as they say. Even more if you're wearing full body armour!
by ray.wurlod
Thu Jul 07, 2011 12:35 am
Forum: IBM QualityStage
Topic: Error in Match Reference Job
Replies: 9
Views: 4723

What errors are you getting? Do they relate, perhaps, to "block overflow"? That might mean that your blocking fields aren't discriminating well enough, so you are ending up with more records per block than can conveniently fit in the allocated amount of memory. Read more about block overfl...
by ray.wurlod
Wed Jul 06, 2011 5:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert string to a number
Replies: 7
Views: 2320

Multiply by 100000.
by ray.wurlod
Wed Jul 06, 2011 5:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfer all tables in a DB2 to Oracle database
Replies: 9
Views: 3620

Are the Oracle tables to be identically structured as the DB2 tables? If so you can make use of Runtime Column Propagation. Is any transformation to be performed? Are there any BLOBs or CLOBs to transfer? These add a minor level of difficulty, but you can still do it by generating custom SQL in a se...
by ray.wurlod
Wed Jul 06, 2011 5:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row into columns
Replies: 6
Views: 2651

skp wrote:but in the i/p column there is no limit of the values. In this case what can i do.... please help...
Define sufficient columns. Default unpopulated columns to NULL and filter these downstream of the Pivot stage.
by ray.wurlod
Wed Jul 06, 2011 5:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to use idoc in DS
Replies: 3
Views: 1453

Have you purchased the SAP R/3 PACK for DataStage?
by ray.wurlod
Wed Jul 06, 2011 5:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: configuration file
Replies: 4
Views: 1670

That depends somewhat on your configuration file. To achieve what you've stated the configuration file would need to have (at least) six nodes but only four of those in the default node pool. If your configuration file only has four nodes mentioned, there is no way that your requirement can be accom...