Search found 53125 matches

by ray.wurlod
Wed Aug 03, 2011 1:59 am
Forum: General
Topic: where can we find the code for dsjob
Replies: 7
Views: 1899

dsjob began life as an example of how to program using the DataStage C API. Note that it is a C program, not a C++ program. From memory (since I'm not in a position to check) complete source code was provided in the programming manual, and on disk in the sample directory.
by ray.wurlod
Tue Aug 02, 2011 9:43 pm
Forum: General
Topic: Passing current date to to Job Parameter
Replies: 13
Views: 4429

But it only works if the job handle is valid, resulting from an earlier successful invocation of DSAttachJob() or use of DSJ.ME.
by ray.wurlod
Tue Aug 02, 2011 9:39 pm
Forum: General
Topic: Performances Tuning Tips
Replies: 12
Views: 5648

It was not always the case. Shared (READL) locks used to be implemented differently. Nowadays they are implemented as wait lists that queue in much the same way (and on the same number of semaphores) as the exclusive (READU) locks.

Go to the next Rocket Software U2 University to learn more.
by ray.wurlod
Tue Aug 02, 2011 3:52 pm
Forum: General
Topic: Passing current date to to Job Parameter
Replies: 13
Views: 4429

How is ParallelJob_handle allocated its value?
by ray.wurlod
Tue Aug 02, 2011 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FIle Patten issue
Replies: 5
Views: 1584

U didn't ask the question.

The second person personal pronoun in English is spelled "you".

U is one of our posters.
by ray.wurlod
Tue Aug 02, 2011 3:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: C++ routine guide
Replies: 6
Views: 2833

... once you're competent with the language, the classes that you will need (the DataStage API) are documented in the Programming DataStage manual.
by ray.wurlod
Tue Aug 02, 2011 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture stage vs Difference stage driving me nuts
Replies: 3
Views: 2827

Why not just use the Slowly Changing Dimensions stage?
by ray.wurlod
Tue Aug 02, 2011 3:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Long Month Name from Date
Replies: 24
Views: 12124

You shouldn't need to remove the dashes. However, since YMD is not your default locale setting, you need DYMD in the Iconv() function. Also, it's a space, not a dot, in the G conversion. OConv(IConv(DSLink1.LOG_DT_TM, "G0 1" : @VM : "DYMD"), "DMA" : @VM :"MCT")
by ray.wurlod
Tue Aug 02, 2011 3:40 pm
Forum: General
Topic: where can we find the code for dsjob
Replies: 7
Views: 1899

From memory it's to be found in the sample directory.
by ray.wurlod
Tue Aug 02, 2011 3:40 pm
Forum: General
Topic: Performances Tuning Tips
Replies: 12
Views: 5648

MAXRLOCK must always be (RLTABSZ - 1). That may have something to do with why the first uvconfig settings gave problems.
by ray.wurlod
Tue Aug 02, 2011 3:35 pm
Forum: IBM QualityStage
Topic: Quality Stage: mass upload of rules
Replies: 1
Views: 1294

It really depends what you mean by "some way" but, in general, the answer is no. Rule Sets are stored in text files so, if "some way" is this identical format, then all you need to do is to emplace them correctly and make sure you have at least the mandatory files (classification...
by ray.wurlod
Tue Aug 02, 2011 12:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FIle Patten issue
Replies: 5
Views: 1584

I think you've encountered a bug. The File Name column works properly in some versions, not in others. Without knowing your exact version it's hard to say. Involve your official support provider.
by ray.wurlod
Tue Aug 02, 2011 12:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-24374: define not done before fetch or execute and fetch
Replies: 4
Views: 4473

Please note that Craig requested the version of the Oracle client, not the DataStage client.
by ray.wurlod
Tue Aug 02, 2011 12:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Long Month Name from Date
Replies: 24
Views: 12124

This might do it for you, then.

Code: Select all

OConv(IConv(DSLink1.LOG_DT_TM, "G0 1" : @VM : "D"), "DMA" : @VM :"MCT")
by ray.wurlod
Mon Aug 01, 2011 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Database stages used for lookup and pass through args
Replies: 11
Views: 4263

Then you should be OK. Failed lookup rule should be set to Continue, in which case any column mapped from the reference input link will be NULL if the lookup failed. There is an option for returning more than one row from a lookup, should you require that.