Search found 53125 matches

by ray.wurlod
Mon Dec 13, 2004 2:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference Between sequence no generators
Replies: 3
Views: 1049

You can use KeyMgmtGetNextValue if you're updating, but why would you want to? You're updating an existing row, so you don't need a new key value. You can view the source of KeyMgmtGetNextValue in your Repository using Manager or Designer. It's a Routine. The SDKSequences hashed file is created with...
by ray.wurlod
Mon Dec 13, 2004 2:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we invoke a DataStage job from other tools Cotrol Tools
Replies: 4
Views: 1300

I've got an AIX machine at home! :D
by ray.wurlod
Mon Dec 13, 2004 2:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert Update on Max Timestamp
Replies: 2
Views: 756

Best practice is to pre-load a lookup source (for example a hashed file) with the current values and to maintain this during the load process.

Search the forum for "Type 2", "lock for update" and "slowly changing dimension" for techniques.
by ray.wurlod
Mon Dec 13, 2004 2:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sql query to ETL
Replies: 12
Views: 3908

I too give the "blank piece of paper" advice, but alas it seems that most of the folks are deaf. Or just want to play with their shiny new DS toy!

Anyway, I can make a living doing it right the second time! :?

Folks, it's GREAT advice!
by ray.wurlod
Mon Dec 13, 2004 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Universe Data - Acess RT_Log
Replies: 2
Views: 978

... and the answer is exactly the same for PX jobs and server jobs. :D
by ray.wurlod
Mon Dec 13, 2004 2:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set User Status!
Replies: 2
Views: 1258

You can not set a job's user status unless the job is running. If the job is running it has not failed.

You will have to find another mechanism.

Why not use a job sequence and test the jobs' exit status? Based on this you can set up a trigger to perform some action if either job has failed.
by ray.wurlod
Mon Dec 13, 2004 2:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Constraints for a link
Replies: 5
Views: 810

Probably your target rejected two of the four rows, maybe due to a primary key unique constraint violation. What do your four rows of data look like?
by ray.wurlod
Mon Dec 13, 2004 2:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Log files of a Datastage Job
Replies: 21
Views: 28485

You WILL need to write a routine to use the DSGetLogEntry() function. The function can only retrieve the details of a single logged event. However, why are you using these functions at all in a DataStage job? Use a UV stage or hashed file stage to select from the log, and you automatically get every...
by ray.wurlod
Mon Dec 13, 2004 2:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compile and run DS Parallel jobs
Replies: 9
Views: 3708

By "appropriate C++ compiler" I mean the one specified in the installation notes for DataStage EE or one with identical characteristics. In general, free or open-source compilers don't cut it.
by ray.wurlod
Mon Dec 13, 2004 1:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compile and run DS Parallel jobs
Replies: 9
Views: 3708

You will also require an appropriate C++ compiler on the UNIX machine. Do you have this?
by ray.wurlod
Mon Dec 13, 2004 12:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC issue
Replies: 1
Views: 631

This error is being generated by the ODBC driver manager. Check to make sure that the database server is running, and that none of the connectivity requirements (including password) has changed. Test to verify whether you can connect to the database via ODBC using the test software in branded_odbc. ...
by ray.wurlod
Fri Dec 10, 2004 2:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Tuning in Hash Files
Replies: 5
Views: 1713

There's no documented limit on the number of hashed files that you can have in a job. You will have some issues using cache, which is a finite resource. You may have some hashed files unable to be cached for reading once the cache is full. Avoid having too many hashed files feeding the one Transform...
by ray.wurlod
Fri Dec 10, 2004 2:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a unique field for data and use of @INROWNUM
Replies: 6
Views: 1269

Then @INROWNUM is a good choice, because it is guaranteed to be unique.

If you have a constraint on the output link, all this means is that you will have gaps in your sequence. If all you're after is uniqueness this is not a problem.

If you don't want gaps in the sequence, prefer @OUTROWNUM.
by ray.wurlod
Fri Dec 10, 2004 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference Between sequence no generators
Replies: 3
Views: 1049

@INROWNUM is a count of the rows entering the Transformer stage on its stream input link. It is incremented for every row processed. @OUTROWNUM is a count of the rows exiting the Transformer stage on an output link. Separate counts are maintained for every output link. It is incremented for every ro...
by ray.wurlod
Fri Dec 10, 2004 2:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any limit on the number of rows in transformer
Replies: 6
Views: 1885

There are two easy ways to limit the number of rows processed by a Transformer stage. One is to add constraints to the output link(s), for example @INROWNUM < 100 The other is to open the Constraints editor grid. The rightmost column of this grid allows you to specify a number of rows on each output...