Search found 42189 matches

by chulett
Mon Jun 11, 2007 12:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set/Get Stage variables?
Replies: 15
Views: 8164

Re: Set/Get Stage variables?

I have searched the forum, and I have been unable to find a DS Server Edition BASIC code snippet for setting and getting stage variables inside a routine / function. I know this must be a simple process, since it is referred to in many posts, but I have not been able to locate it on DSExchange... I...
by chulett
Mon Jun 11, 2007 10:29 am
Forum: General
Topic: Using DSJ.LINKROW
Replies: 4
Views: 1518

No, negative numbers are error codes. And a -6 means:

Code: Select all

#define DSJE_WRONGJOB  -6   /* Job for this JobHandle was not started from a call to DSRunJob by the current process. */

See the $DSHOME/include/dsapi.h file.
by chulett
Mon Jun 11, 2007 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with converting to 64 bit hash file
Replies: 5
Views: 1401

Not according to your error! As noted, make sure you have room for two copies of the hashed file, at least temporarily.
by chulett
Mon Jun 11, 2007 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tivoli Schedule
Replies: 9
Views: 5791

Batch files, shell scripts - same thing. I have contacted the tivoli scheduling team and they have said that it will not be possible for them to set up the status on a case-by-case basis. I find that very hard to believe. Sometimes that boils down to the fact they either don't know how to do it or s...
by chulett
Mon Jun 11, 2007 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error with Routine
Replies: 3
Views: 862

Keep in mind the fact that a Routine is expected to return a 0 status upon successful completion, whereas a job never will but will return a 1,2,3 (etc) instead. And if you have automatic error handling turned on in the Sequence any non-zero routine status will be considered to be an 'unhandled fail...
by chulett
Mon Jun 11, 2007 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tivoli Schedule
Replies: 9
Views: 5791

shyamrai wrote:The Tivoli job shcedule is used in a lot of other applications. So, do you think status can be applied only to DataStage.

Certainly, "they" should be able to do it on a case-by-case basis.
by chulett
Mon Jun 11, 2007 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Releasing jobs in PX environment
Replies: 6
Views: 2699

Why do you 'need' to release them? Are you sure you don't mean 'unlock' instead? :?
by chulett
Mon Jun 11, 2007 7:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error with Routine
Replies: 3
Views: 862

Why in the world use a routine to run this job? What's so special about this that you can't use a Job Activity stage? :?
by chulett
Mon Jun 11, 2007 7:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To speed up the aggregator
Replies: 15
Views: 5784

karrisuresh wrote:always sort the data before it is sent to aggregator

As noted, there is more to it than that. You also have to assert the sorted order in the stage so it knows you've done this. And hopefully you've sorted in such a manner that supports the grouping being done, otherwise it's all for naught.
by chulett
Mon Jun 11, 2007 7:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rundate
Replies: 3
Views: 863

There are also multiple ways to get the system date. If all that doesn't help, come back with an explanation of what 'rundate' means in your world.
by chulett
Mon Jun 11, 2007 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: extracting required string from routine return value
Replies: 11
Views: 2434

What's parallel got to do with any of this? We are discussing a BASIC routine for goodness sake. I know you've got yourself a 'solution' but it's overly complex and it can be easily handled in other ways as mentioned here.

If you want to pursue this we can. The count and redirection do work.
by chulett
Mon Jun 11, 2007 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting required string from routine's return value
Replies: 4
Views: 1206

I thought we answered how to do this in another thread? :?
by chulett
Mon Jun 11, 2007 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rows/Sec
Replies: 13
Views: 4161

Well... you are severely hampered in your 'tuning' ability if you "can't change the job design". Those direct database lookups (which it sounds like are being done twice) are the worst performant way the job could have been designed. 45 minutes to an hour to process 700 records is pretty bad. About ...
by chulett
Mon Jun 11, 2007 6:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to add one year to a given date
Replies: 13
Views: 3302

ray.wurlod wrote:or the Pope has adjusted the calendar in the interim.

Yah, gotta watch out for them Popes. They does stuffs like that every now and then. :wink:
by chulett
Mon Jun 11, 2007 6:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO clear entries in log
Replies: 5
Views: 1587

That setting in the Administrator is the default setting for the Project and only affects new jobs created after the option was enabled. Ken Bland has a suite of Job Control Utilities available for free download from his website, one of which is a little job to set the auto-purge information across ...