Search found 53125 matches

by ray.wurlod
Tue May 24, 2011 1:18 am
Forum: General
Topic: Routine code issue
Replies: 4
Views: 1277

Start a new thread. This question is unrelated to the subject of this particular thread.
by ray.wurlod
Mon May 23, 2011 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 5464

That is quite database-specific, it's not a general solution A general solution could employ similar code within a DataStage routine. But a calendar table not only solves the weekend question, it also provides a solution to the holiday question. And it offers the flexibility to handle things like Is...
by ray.wurlod
Mon May 23, 2011 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ustring to string
Replies: 9
Views: 5049

Identify which dates don't match the format.
by ray.wurlod
Mon May 23, 2011 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 5464

Use a Lookup stage and a calendar table (perhaps a time dimension table) to ascertain day name, then count them conditionally.

Code: Select all

If Left(InLink.DayName,1) = "S" Then svWeekendCount + 1 Else svWeekendCount 
by ray.wurlod
Mon May 23, 2011 2:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abnormal termination of DataStage -- Fault type is 6
Replies: 5
Views: 5069

Yes, it makes sense to me. You had logging set to perform logging into the metadata repository. Something went wrong with that - it seems to have been being accessed via (an internal) Connector. The change that Support recommended switches job logging to the engine tier, using the old style of loggi...
by ray.wurlod
Mon May 23, 2011 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal error while compiling
Replies: 5
Views: 2496

Check that you have a non-zero, non-blank value actually in the Precision part of the decimal declaration. DataStage is finding one of these.
by ray.wurlod
Mon May 23, 2011 2:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a EBCIDIC file from UNIX command line ?
Replies: 3
Views: 1279

Why necessarily "from command line"? You can use the Sequential File stage.
by ray.wurlod
Mon May 23, 2011 5:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage parallel Routines
Replies: 7
Views: 4318

You would have to write your own routine that invoked the "UniVerse" C API functions for invoking hashed files.

To pre-empt your next question, there is no other way if you insist upon using SDKSequences from a parallel Transformer stage.
by ray.wurlod
Mon May 23, 2011 2:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view data
Replies: 10
Views: 3094

vijaykumarpj wrote:This might be because of two below issues:
1) The sequential file may be empty.
2) The metadata mismatch.
"Skipped 3" rules out empty file.
by ray.wurlod
Mon May 23, 2011 1:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view data
Replies: 10
Views: 3094

It means your metadata do not accurately describe what's actually there.
by ray.wurlod
Mon May 23, 2011 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Recursive logic
Replies: 1
Views: 1034

Welcome aboard. A Search here for "recursive" should find you a few examples.
by ray.wurlod
Mon May 23, 2011 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 5464

Use a Lookup stage and a calendar table (perhaps a time dimension table) to ascertain day name, then count them conditionally.

Code: Select all

If Left(InLink.DayName,1) = "S" Then svWeekendCount + 1 Else svWeekendCount 
by ray.wurlod
Sun May 22, 2011 8:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 5464

Use a Lookup stage and a calendar table (perhaps a time dimension table) to ascertain day name, then count them conditionally.

Code: Select all

If Left(InLink.DayName,1) = "S" Then svWeekendCount + 1 Else svWeekendCount
by ray.wurlod
Sun May 22, 2011 8:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file problem
Replies: 2
Views: 1194

Only you can diagnose this. For example, at what point does the first job abort, and does it have clear/delete hashed file within it? Is it really NULL or is it "" that is being returned?
by ray.wurlod
Sun May 22, 2011 2:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dataset
Replies: 1
Views: 1211

Re: dataset

pandeesh wrote:Is there any relation between the no of nodes specified in the configuration file and the number of instances we can run a multi instance job?
No.