Search found 53125 matches

by ray.wurlod
Thu Nov 03, 2011 1:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Length in Modify stage
Replies: 13
Views: 10425

I have a feeling that substring start position is zero-based. Therefore you may need

Code: Select all

PER_ID:nullable string[max=20]=substring[0,20](PER_ID) 
by ray.wurlod
Thu Nov 03, 2011 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Contents of phantom output file
Replies: 7
Views: 2407

It's not encrypted, it's compiled code. You don't get the source code, which is IBM's intellectual property. The VLIST command suggested by pandeesh explains what the compiled code is doing. But, if an internal routine can generate a "variable not assigned" error, you should be reporting t...
by ray.wurlod
Thu Nov 03, 2011 1:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple jobs reading status file of SKG stage at same time
Replies: 12
Views: 2357

You're wrong. Surrogate keys are delivered in unique blocks if the block size is set > 1.

The status file you indicate suggests that the blocks are 101-200 and 201-300. One block would be delivered to each node.
by ray.wurlod
Thu Nov 03, 2011 1:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Contents of phantom output file
Replies: 3
Views: 1163

Anything generated to stdout is logged and written to the job's file in &PH&. It's simply how the product works.

To avoid, you need to figure out how to prevent the message about OpenSocket() being generated in the first place; find out what error code 39 means and address that issue.
by ray.wurlod
Thu Nov 03, 2011 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Contents of phantom output file
Replies: 3
Views: 1163

Anything generated to stdout is logged and written to the job's file in &PH&. It's simply how the product works.

To avoid, you need to figure out how to prevent the message about OpenSocket() being generated in the first place; find out what error code 39 means and address that issue.
by ray.wurlod
Thu Nov 03, 2011 12:54 pm
Forum: General
Topic: Reading input&output rows
Replies: 3
Views: 2524

You didn't say why you needed the information while the job is running. Actually this is easier - the row count on the input link is given by the @INROWNUM system variable, while the row count on the output link is given by the @OUTROWNUM system variable. Note that, if running a parallel job on more...
by ray.wurlod
Thu Nov 03, 2011 12:52 pm
Forum: General
Topic: Unix Script for restartability
Replies: 16
Views: 3062

Use the dsjob command. Restartability will take care of itself.
by ray.wurlod
Thu Nov 03, 2011 12:51 pm
Forum: General
Topic: DataStage Designer Client Interface problem
Replies: 3
Views: 1917

There should be nothing to prevent you from docking the toolbars.
by ray.wurlod
Thu Nov 03, 2011 12:49 pm
Forum: General
Topic: Mapping Oracle Table Definitions
Replies: 10
Views: 6987

The Remove statement is perfectly OK. When there are $INCLUDE directives line counts are often slightly out. We need to track down which line contains a variable that is used on the right hand side of an assignment statement and which has not been previously defined. It should be within ten lines of...
by ray.wurlod
Thu Nov 03, 2011 12:42 pm
Forum: General
Topic: Using a plsql function
Replies: 3
Views: 1647

The obvious answer is to use the function within a user-defined SELECT statement.
by ray.wurlod
Thu Nov 03, 2011 12:41 pm
Forum: General
Topic: job run as per the sequence available
Replies: 9
Views: 6130

HOW does the StartLoop activity "take the names one by one"? I suspect the logic at that point may be faulty. Also, what is the output of the script, particularly delimiters?
by ray.wurlod
Thu Nov 03, 2011 12:37 pm
Forum: General
Topic: To run the sequences whose names are retrieved from file
Replies: 3
Views: 6380

Wrong forum. This forum is for posting suggestions for FAQ topics.

DataStage questions should be posted in the appropriate forum, so that we can gain some insight into which edition you're using and which version and platform.
by ray.wurlod
Wed Nov 02, 2011 10:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Length in Modify stage
Replies: 13
Views: 10425

Code: Select all

fieldname:string[max=255]=fieldname
or

Code: Select all

fieldname:nullable string[max=255]=fieldname
if appropriate.
by ray.wurlod
Wed Nov 02, 2011 6:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: acessing as400 files using datastage
Replies: 6
Views: 4974

Make sure, when configuring the ODBC DSN, that you include a tight filter - without a filter you will waste time trying to process every "table" on the iSeries (AS/400's new name) machine.
by ray.wurlod
Wed Nov 02, 2011 6:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem loading huge data into dataset
Replies: 8
Views: 4403

Use a Data Set. The operator is copy (whereas it's export for a File Set), which is bound to be more efficient.

The problem was with Oracle, not with your chosen staging technique,