Search found 53125 matches

by ray.wurlod
Tue Feb 06, 2007 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unexpected Job Failure
Replies: 14
Views: 8374

Are you using TENACITY? If not, an process that can not get a Teradata session will abort. It may be this that you are seeing, and would explain the apparent randomness of the behaviour - sometimes processes can all get sessions, occasionally one can't. TENACITY will allow such sessions to wait. (As...
by ray.wurlod
Tue Feb 06, 2007 3:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashed file key field
Replies: 12
Views: 3807

NULL is not accepted as the primary key of a hashed file.
Duplicate key values are not possible in a hashed file.
by ray.wurlod
Tue Feb 06, 2007 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Performance Problem
Replies: 10
Views: 3520

I guess you could mark it as resolved, then.

You can effect the same behaviour in DataStage BASIC, for files opened for sequential access (but not for hashed file) using statements like NoBuf and WriteSeqF.
by ray.wurlod
Tue Feb 06, 2007 3:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: environmental variable in a rountine
Replies: 12
Views: 3810

If, as you say, the environment variable is a job parameter, you can use the DSGetParamInfo() function to retrieve its value.
by ray.wurlod
Tue Feb 06, 2007 3:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: what is DSJ.ME ?
Replies: 7
Views: 5719

"Me" is a very common concept in object-oriented programming - it refers to the current object. In DataStage, depending on the function, the current object may be be job, the stage, the link. In DataStage BASIC the constant DSJ.ME serves to identify the current object.
by ray.wurlod
Tue Feb 06, 2007 3:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Return function in datastage routine
Replies: 6
Views: 1575

Whenever creating routines that some other induhvidual may call, you need to check for three forms of invalid argument - unassigned, null and otherwise invalid. If UnAssigned(Arg1) Or IsNull(Arg1) Then RETURN(@NULL) ; * return immediately End If Arg1 = "" ; * for ex...
by ray.wurlod
Tue Feb 06, 2007 3:31 pm
Forum: General
Topic: Has file lookup using less than or rather than
Replies: 2
Views: 1268

With a UV stage you can specify whatever SQL you need to do your job; for example, if you sort by the lookup key and don't use multi-row return, you would get the highest value that meet your criteria.
by ray.wurlod
Tue Feb 06, 2007 1:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to abort a job in Afterjob sub routine
Replies: 18
Views: 3988

Your requirement to abort the job is unnecessary. A far better design would be to check that the row (or key value) in question does not already exit in the target table before attempting to insert it. Any row that does already exist can be captured in a different ("reject"?) stream and processed ac...
by ray.wurlod
Mon Feb 05, 2007 8:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error : Not bounded length
Replies: 31
Views: 7176

It means that there is at least one field in your job design defined as VarChar but without a Precision (maximum length) value. While this is legal in some places (for example Data Set stages) it is not legal in others. Whichever operator governed by your particular combined operator controller is c...
by ray.wurlod
Mon Feb 05, 2007 8:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: From sequencial file to sequencial file
Replies: 3
Views: 972

Probably delimiter characters (commas) in the data. Are character strings quoted in the data? If not, it would be a good idea to make them thus.
by ray.wurlod
Mon Feb 05, 2007 8:09 pm
Forum: General
Topic: orchestrate schema vs plug-in metadata definitions
Replies: 3
Views: 1559

Orchestrate's orchdbutil method is more accurate than plug-in stages, particularly for Oracle, and particularly for decimal/numeric columns.
by ray.wurlod
Mon Feb 05, 2007 5:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dspackinst - Package installation
Replies: 11
Views: 2002

The ones in Samples are for would-be plug-in writers. Find the dsp files under the appropriate folder (e.g. Oracle).
by ray.wurlod
Mon Feb 05, 2007 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ABOUT AIX VERSION
Replies: 9
Views: 1327

Whence did you purchase DataStage? That's your vendor.

If you haven't (yet) purchased DataStage, your local IBM office should be able to indicate where you can do so.
by ray.wurlod
Mon Feb 05, 2007 3:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to configure DSN for Oracle In unix (Server)
Replies: 22
Views: 8704

Welcome aboard. :D

Technically this is hijacking the thread, which is frowned upon - your question does not relate to configuring a DSN. In future please begin a new thread (choose "Post New Topic").

The Orchestrate method is more accurate, particularly with decimal/numeric data types.
by ray.wurlod
Mon Feb 05, 2007 3:44 pm
Forum: General
Topic: how: reject file rows that have too many cols (parall jb)
Replies: 1
Views: 1019

Welcome aboard. :D The Sequential File stage can have a second output link, called the "rejects" link. This link will capture, as a raw string, any row that does not match the metadata (table definition) being used to read the file. Subsequently in the job, rows on the rejects link can be reprocesse...