Search found 53125 matches

by ray.wurlod
Wed Mar 23, 2011 3:20 am
Forum: General
Topic: To run a job from Command line
Replies: 11
Views: 4090

The -param and -paramfile options are mutually incompatible.

Read the DataStage Programmer's Guide, the section on Command Line Interface.
by ray.wurlod
Wed Mar 23, 2011 1:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key -- Database Sequence
Replies: 5
Views: 2868

It's pretty obvious once you start playing with it. There are three job designs that use the Surrogate Key Generator stage. With no links, the Surrogate Key Generator stage creates a state file. With an input link, the Surrogate Key Generator stage initializes a state file or obtains initial data fr...
by ray.wurlod
Wed Mar 23, 2011 1:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Rows to Columns
Replies: 6
Views: 3150

This is a horizontal pivot. Use a Pivot stage or a Pivot Enterprise stage.
by ray.wurlod
Wed Mar 23, 2011 1:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concatenate the three columns
Replies: 2
Views: 1808

Sort in reverse order and use stage variables to remember previous value. Initialize the "remembering" stage variable to "". Re-sort if necessary downstream of the Transformer stage.
by ray.wurlod
Tue Mar 22, 2011 11:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get API Error code
Replies: 3
Views: 1909

Read JOBCONTROL.H (or dsapi.h) to learn what they are. Then code them however you like. You can even search for them on DSXchange - I recall that someone once went to the bother of listing them all. Mnemonic tokens all begin with "DSJS." (DataStage Job Status).
by ray.wurlod
Tue Mar 22, 2011 4:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataSet LookUp
Replies: 2
Views: 1641

It may also not work, even if the data do look the same, if they are encoded differently (for an extreme example, ASCII and EBCDIC).
by ray.wurlod
Tue Mar 22, 2011 4:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: store in a table start and end
Replies: 1
Views: 1500

Get ETLstats (free) from Kim Duke's website - this will do all that and more for you.
by ray.wurlod
Tue Mar 22, 2011 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Server Design To Parallel Design...Need verification...
Replies: 2
Views: 1206

If the reference data sets are small Lookup stages will be preferable to Join stages. If using Join stages you need to ensure that their inputs are correctly sorted. Have you given thought to the appropriate partitioning algorithm? You might consider using a single Transformer stage (with constraint...
by ray.wurlod
Tue Mar 22, 2011 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can't read date column from excel sheet
Replies: 5
Views: 1979

There are variants available, like "%(m,v)/%(d,v)/%yyyy", at least in version 8.5.
by ray.wurlod
Tue Mar 22, 2011 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get API Error code
Replies: 3
Views: 1909

dsinclude/JOBCONTROL.H
by ray.wurlod
Tue Mar 22, 2011 3:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load & Insert vs. Load & Append in Oracle or DB2 sta
Replies: 1
Views: 953

There's an information area that describes each property as it's selected (you can get the same information in a tooltip by hovering the mouse pointer over the property).
by ray.wurlod
Tue Mar 22, 2011 3:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to validate data
Replies: 7
Views: 2029

Business rules!! You need to become aware of the business rules that you have to enforce (for example a person's name may not contain a numeric character) and then implement these using DataStage logic. There is no "one size fits all" solution.
by ray.wurlod
Tue Mar 22, 2011 3:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: STPPX Stage - Sybase Stored Proc
Replies: 3
Views: 4133

That may be a Sybase limit on the maximum column size returnable through a stored procedure. Please check your Sybase documentation.