Search found 53125 matches

by ray.wurlod
Wed Nov 02, 2011 6:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job finished succesfully with fatal error
Replies: 5
Views: 1742

What's really needed is a change in mindset. In server jobs a Fatal error always causes the job to abort. In parallel jobs this is not necessarily the case - the controlling process (section leader or conductor) makes a decision about whether the other players, other nodes, can continue to execute.
by ray.wurlod
Wed Nov 02, 2011 6:27 pm
Forum: General
Topic: How to call week day from date function in JOB SEQUENCE
Replies: 2
Views: 2667

I suspect option "DWA" or "DWB" would suit your purpose better. Just guessing.
by ray.wurlod
Tue Nov 01, 2011 9:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: scd stage
Replies: 3
Views: 875

The NextSurrogateKey() function works like a sequence in a database - it delivers the next value irrespective of who's asking for it. Which node, in this case. Surrogate keys only have to be unique - their actual value has no meaning.
by ray.wurlod
Tue Nov 01, 2011 9:48 pm
Forum: General
Topic: Access Duration
Replies: 11
Views: 3214

I'm reminded of the old statisticians' joke: "what's the birth rate around here?" "One each." There is a pretty neat "UniVerse" solution to this, but it does require some advanced skills to get it right. Basically you need to silently intercept the LOGIN and LOGOUT in e...
by ray.wurlod
Tue Nov 01, 2011 5:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: transformer lookup
Replies: 16
Views: 4290

You can import the table definition for the sequential file, marking it as fixed width and providing the column widths (on the Format tab) and column names (on the Define tab).
by ray.wurlod
Tue Nov 01, 2011 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bind20: Command not found
Replies: 14
Views: 6837

The branded_odbc directory is not a subdirectory of DSEngine. Go up a level.
by ray.wurlod
Tue Nov 01, 2011 5:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Audit Table
Replies: 15
Views: 7595

Certainly. Review the code for OpenSequentialFile routine (published on DSXchange) to learn about overwrite/append sequential files using DataStage BASIC.
by ray.wurlod
Tue Nov 01, 2011 5:25 pm
Forum: General
Topic: Mapping Oracle Table Definitions
Replies: 10
Views: 6987

DSGetLinkMetadata() is documented on page 96 of the DataStage Programmer's Guide. It returns a dynamic array. You don't actually have to count anything. Here's how I'd approach it. * assuming JOBCONTROL.H is included Result = DSGetLinkMetadata(hJob, StageName, LinkName) ColumNames = Result<1> KeyCol...
by ray.wurlod
Tue Nov 01, 2011 12:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to Populate NULLS in plac
Replies: 2
Views: 1233

Welcome aboard.

To generate null, use SetNull() function. Add your own logic to determine whether your condition is met.
by ray.wurlod
Tue Nov 01, 2011 12:48 pm
Forum: General
Topic: Access Duration
Replies: 11
Views: 3214

Why do you have this need?
by ray.wurlod
Tue Nov 01, 2011 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding 0's
Replies: 11
Views: 4236

Even more efficient (not evaluating the Space() function every row is to evaluate it when initializing a stage variable, or simply use a literal.

Code: Select all

Right("                    " : inputstring, 20)
by ray.wurlod
Tue Nov 01, 2011 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot find a 'job started' record in job log
Replies: 3
Views: 2605

Try purging the log of all entries.
by ray.wurlod
Tue Nov 01, 2011 12:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of stage Map detected
Replies: 11
Views: 2909

Check the version of the Oracle client software installed on your DataStage server, and that the Oracle environment variables are correctly set.
by ray.wurlod
Tue Nov 01, 2011 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of parallel instances that are running
Replies: 1
Views: 962

Code: Select all

DSGetJobInfo(hJob, DSJ.JOBINVOCATIONS)