Search found 53125 matches

by ray.wurlod
Fri Oct 17, 2014 4:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to specify primary key on OSD used by DataStage
Replies: 2
Views: 1296

VarChar(1) is a waste of space. Why not use Char(1) ?
by ray.wurlod
Fri Oct 17, 2014 4:40 pm
Forum: General
Topic: Metadata Query to find out attributes for a job
Replies: 5
Views: 2144

If you're running 8.7 or later, capture this information into the DataStage Operational Database (DSODB) which IS fully documented in its manual, and you can create your own queries against it. (On 8.7 you need to create and configure DSODB; in version 9.x and later it's installed automatically.)
by ray.wurlod
Fri Oct 17, 2014 4:37 pm
Forum: General
Topic: Not able to Save, Compile or Import jobs in a project
Replies: 9
Views: 3724

Try taking another export. Make sure (if you need them) that design data is included in the export.
by ray.wurlod
Fri Oct 17, 2014 4:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage Queries
Replies: 6
Views: 2055

Has your premium membership expired?
by ray.wurlod
Fri Oct 17, 2014 4:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage 6.0 - arithmetic loss of precision
Replies: 16
Views: 5849

Back in the day (when 8KB was a LOT of memory) I was taught always to complete multiplications before doing any divisions. Multiplication apparently suffers less precision loss than division.

As to whether you have a "solution" - only time will tell.
by ray.wurlod
Thu Oct 16, 2014 9:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage job running forever
Replies: 1
Views: 1610

Welcome aboard.

Try enabling some of the reporting environment variables, particularly APT_STARTUP_STATUS and APT_PM_SHOW_PIDS, to get information logged about what's happening.
by ray.wurlod
Thu Oct 16, 2014 9:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can debug option in 8.7 replace peek stage
Replies: 7
Views: 3643

Yes, it can. But it's overkill, and jobs in the debugger run (necessarily) far more slowly than not in the debugger. You can also set the "compile in Trace mode" option in job properties. This effectively puts a Peek stage on every link in the job. This works whether or not the job is runn...
by ray.wurlod
Thu Oct 16, 2014 6:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage 6.0 - arithmetic loss of precision
Replies: 16
Views: 5849

Version 6 - first version to include parallel jobs - support ended in April 2010.

Reminisce here.
by ray.wurlod
Thu Oct 16, 2014 4:01 pm
Forum: General
Topic: Running single job for all value file set
Replies: 8
Views: 2082

Perhaps (for example) the parameter is a List type that accepts only A or B as its value.
by ray.wurlod
Wed Oct 15, 2014 7:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key using a state file or Database
Replies: 7
Views: 6765

I doubt it. It might get close, if your engine, services and repository tiers share the same machine. But a state file is right there in the file system.
by ray.wurlod
Wed Oct 15, 2014 6:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file unable to initialize importer
Replies: 4
Views: 2005

You didn't answer my question. What's different between the environments? (Tip: the answer is not "nothing". Clearly.) Might there be a difference in the data, for example? The "" value does not occur in the file in dev but does in the new environment. Also, reading a single colu...
by ray.wurlod
Wed Oct 15, 2014 6:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage 6.0 - arithmetic loss of precision
Replies: 16
Views: 5849

Or, to go completely overboard

Code: Select all

( DecimalToDecimal(A) / DecimalToDecimal(30) ) * DecimalToDecimal(B)
Then you get control of the rounding to some extent.
by ray.wurlod
Wed Oct 15, 2014 6:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key using a state file or Database
Replies: 7
Views: 6765

System generated block size should be OK unless you have some particular reason for differing. There is no convenient way to maintain state information in XMETA. (And that's not what XMETA is for.) Updating the state file from two different jobs is, at the very least, dangerous. But you can read (bl...
by ray.wurlod
Wed Oct 15, 2014 6:15 pm
Forum: General
Topic: Retrieving already run job information to populate a table
Replies: 3
Views: 949

You can find ETLStats here when you're ready.
by ray.wurlod
Wed Oct 15, 2014 3:28 pm
Forum: General
Topic: Retrieving already run job information to populate a table
Replies: 3
Views: 949

Use a server job, or a BASIC Transformer stage in a parallel job, to invoke the appropriate DataStage macros to retrieve the information in which you're interested. If there's no DataStage macro, use a DataStage API function.