Search found 51 matches

by banactp
Thu Jul 14, 2005 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activities in series
Replies: 3
Views: 2431

Hi, does a sequencer stage do the trick as well? Roy, A single sequencer (after the last UVA but before the Job Activity) does not. Neither does putting a sequencer between each UVA. I can't hook the UVAs up in parallel to a single sequencer because of the dependencies of the variables within them....
by banactp
Thu Jul 14, 2005 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activities in series
Replies: 3
Views: 2431

User Variable Activities in series

Hello, Does anyone know how DataStage executes a series of User Variable Activities (UVAs)? I'm having a problem wherein a series of three UVAs do not produce the same output values to a subsequent Job Activity from run to run. The first UVA loads some environmental variables via $PROJDEF and then o...
by banactp
Tue Jul 05, 2005 5:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in transformer - Input port 0 already connected
Replies: 7
Views: 6354

ArndW,

Auto-partitioned all the way. Still scratching my head over this one, but not for too long...
by banactp
Tue Jul 05, 2005 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in transformer - Input port 0 already connected
Replies: 7
Views: 6354

The good news is that I restructured my job due to a requirements change and the error went away. The bad news is that I don't know why - I made several changes and although the design is not that much different from the original, I could not deduce what would have caused or eliminated the error. Oh...
by banactp
Tue Jun 28, 2005 12:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in transformer - Input port 0 already connected
Replies: 7
Views: 6354

Error in transformer - Input port 0 already connected

Hello, I'm getting this rather nondescriptive one-line fatal error message out of a transformer stage: Operator initialization: Input port 0 already connected; text: 0< 'Restructure_to_V3_SLH:V3_SLH.v' The transformer has an input (V3_SLH) from a copy stage (Restructure_to_V3_SLH.) The copy stage is...
by banactp
Wed Jun 01, 2005 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Left, Right, substring functions and quotes
Replies: 3
Views: 1398

Well, it looks like this one will remain a mystery :? The problem must have been specific to the particular function I was testing the code snippet in, because this morning I cut and pasted my own code into a different routine and ... no problem. Unfortunately, I no longer have the piece of code tha...
by banactp
Tue May 31, 2005 11:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Left, Right, substring functions and quotes
Replies: 3
Views: 1398

Problem with Left, Right, substring functions and quotes

I've tried the following in a Server routine intended for use in a PX sequence: S = '"ABCD"' ; * That's '-"-ABCD-"-' T = S[Len(S)-1] ; * T = ABCD" at this point U = T[1,Len(T)-1] ; * U should = ABCD V = T[1,Len(T)] ; * V should = ABCD" Now when I run this code, string V...
by banactp
Tue May 17, 2005 8:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage in 7.5 (for DB2)
Replies: 2
Views: 1544

This particular problem arose because the DB2 stored procedure in question had both input parameters and an output cursor.

Ascential has provided me with a solution in the form of a patch for version 7.5.1. Refer to ECASE G73450 on the Ascential support site for more details.

tpb
by banactp
Tue May 17, 2005 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command Line Arguments to Wrapped Custom Stage
Replies: 1
Views: 1192

Ascential support has provided a workaround for this issue. The solution is to enclose command line arguments passed by the wrapper as "Value Only" in a set of double and single quotes when specifying the wrapped stage properties. For example, "'arg1'". Parameters passed by the w...
by banactp
Fri May 13, 2005 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hex to integer in transfrmer stage
Replies: 10
Views: 5328

The String to Integer conversion does not seem to work in 7.5:

Numeric string expected for input column

is the error message received from the transform. The problem seems to be with the '0x' prefix - I can't even get AsInteger("0x00ab") to work.
by banactp
Wed May 11, 2005 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environment variable run time
Replies: 11
Views: 8617

And when you migrate your job with that environment variable to other platforms or projects that have different values, your job still have the default value preserved -- over-riding what the project/system/universe/everything/42 values are. This is why I advise all of my clients to not rely on pro...
by banactp
Wed May 11, 2005 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environment variable run time
Replies: 11
Views: 8617

Thanks, those are informative comments. But back to my original scenario, then: For example, suppose I would like to run a DS job early every morning that would set a user-defined environment variable, $COLOROFTHEDAY, dependent on the forecast high temperature read from an XML file obtained from an ...
by banactp
Tue May 10, 2005 5:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environment variable run time
Replies: 11
Views: 8617

Ray, I can start Designer, open a job, create a new environment variable, close the job and exit from Designer. Later, I can go back into Designer, edit another job in the same project as before, and have access to the same environment variable. This seems to indicate some sort of persistence at a l...
by banactp
Mon May 09, 2005 1:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update Environment variable run time
Replies: 11
Views: 8617

Follow-on question: Is it possible to update a project-wide environment variable from within a job or sequence? For example, suppose I would like to run a DS job early every morning that would set a user-defined environment variable, $COLOROFTHEDAY, dependent on the forecast high temperature read fr...
by banactp
Mon May 02, 2005 2:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command Line Arguments to Wrapped Custom Stage
Replies: 1
Views: 1192

Command Line Arguments to Wrapped Custom Stage

I'm trying to pass some command line arguments to a UNIX command through a Wrapped stage. I'm having difficulty passing a variable String value that normally would be enclosed in double quotes if it were typed in at the command line. Think of a string with whitespace and/or special characters. When ...