Search found 53125 matches

by ray.wurlod
Tue Feb 24, 2009 6:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column Information from Active To Passive Stage using DSFunc
Replies: 2
Views: 1242

You need to do some research in the manuals about what "active" and "passive" mean in the context of DataStage stage types. That will guide your thinking in resolving the particular question you asked. Passive stages don't generate processes at run time. That statement should tel...
by ray.wurlod
Tue Feb 24, 2009 6:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column Information from Active To Passive Stage using DSFunc
Replies: 2
Views: 1242

We don't do urgent.

DSXchange is an all-volunteer site whose participants post as and when they can, if they have something to say.

If you want "urgent" sign up with your support provider for priority service, and learn just how much "urgent" costs.
by ray.wurlod
Tue Feb 24, 2009 6:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 9234

It wasn't good enough. Their manuals explicitly stated that you should never make any assumption about the data type of the job handle variable - you should treat it as opaque. Then they go and break their own rules. When IBM do change it's data type from integer row number in internal table of job ...
by ray.wurlod
Tue Feb 24, 2009 6:05 am
Forum: General
Topic: Can I declare and use a function within a function?
Replies: 3
Views: 1063

Everything in the same file has global scope within that file. This can result in side effects if you do not take care using GoSub.
by ray.wurlod
Mon Feb 23, 2009 9:24 pm
Forum: General
Topic: Can I declare and use a function within a function?
Replies: 3
Views: 1063

This might be confusing. What do you mean by "in this file"? If it's a purely internal routine, within the same routine, then it is accessed via a GOSUB statement and no DEFFUN declaration is required. Otherwise, it's a separate function - has a separate entry in the Routines branch of the...
by ray.wurlod
Mon Feb 23, 2009 9:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Roll up monthly data to SCD
Replies: 7
Views: 4303

SELECT NAME, STATE, MIN(START_DATE), MAX(END_DATE)
FROM tablename
GROUP BY NAME, STATE

Did I miss something?
by ray.wurlod
Mon Feb 23, 2009 9:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems importing jobs
Replies: 5
Views: 2843

Good, thanks for that. You did it before I could get back to you.
by ray.wurlod
Mon Feb 23, 2009 9:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Installation Issue
Replies: 2
Views: 911

Should be no problem. The Information Server products need to know where the Information Server itself (the domain server) is, and vice versa. If you set up (install) the components individually you will be asked for this information by the install script. You can NOT achieve what you are seeking to...
by ray.wurlod
Mon Feb 23, 2009 9:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_BadAlloc: Heap allocation failed.
Replies: 4
Views: 10283

It's the same error you previously reported, now you know for sure that it's the ODBC stage which is generating the error. You now have to search for the exact error message in DSXchange forums, and work out what you are doing in your ODBC stage that might consume more heap memory than is available.
by ray.wurlod
Mon Feb 23, 2009 9:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 9234

I typically use a "harmless" function (get job name) right after the call to DSAttachJob() function. This is a quick way to test whether the attach succeeded; if it didn't the harmless function returns DSJE.BADHANDLE. Job1 = DSAttachJob("AuxTimeFactLoad", DSJ.ERRORNONE) TheJobNam...
by ray.wurlod
Mon Feb 23, 2009 2:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_BadAlloc: Heap allocation failed.
Replies: 4
Views: 10283

We never even bother to try to diagnose errors thrown by APT_CombinedOperatorController. Disable operator combination so you can learn which actual stage (operator) is throwing the error.
by ray.wurlod
Mon Feb 23, 2009 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Job Elapsed time for all datastage jobs
Replies: 2
Views: 3641

Download ETLstats from Kim Duke's website - which will do it all for you.
by ray.wurlod
Mon Feb 23, 2009 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIST.DICT
Replies: 10
Views: 3396

Can you try LIST DICT DS_AUDIT (without the dot)? If only one record is listed then someone at your site has stripped the metadata from DS_AUDIT. So there is no definition for CLASS or, indeed, any of the columns in DS_AUDIT. Find that person and castigate severely. If the DS_AUDIT hashed file in a ...
by ray.wurlod
Mon Feb 23, 2009 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD Common Multi Instance Job
Replies: 5
Views: 1616

Get version 8 and use Slowly Changing Dimension stage, which does it all. (Well, in conjunction with Surrogate Key Generator stage.)
by ray.wurlod
Mon Feb 23, 2009 2:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a Basic Routine With in Job Control
Replies: 16
Views: 4429

What type of server routine? The method is different depending on whether it's a transform function or a before/after subroutine.

For transform functions you need a DEFFUN declaration.

For before/after subroutines, which are called with CALL statement, you need to add the "DSU." prefix.