Search found 6797 matches

by DSguru2B
Thu Mar 08, 2007 2:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: splitting a string into three fields
Replies: 33
Views: 5453

Aren't we all, scripted by the ultimate ENTITY :wink:
by DSguru2B
Thu Mar 08, 2007 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get DENSE RANK in a grouped data
Replies: 26
Views: 8487

Dsnew wrote:That might not work in this case, ganesh123


Well, if you add the fourth column in the grouping, I dont see why It wont work. You will get 1,1,2.
by DSguru2B
Thu Mar 08, 2007 2:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Processing record using their SID's
Replies: 3
Views: 1458

You completely lost me. Can we get some more explanation with data?
by DSguru2B
Thu Mar 08, 2007 12:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get DENSE RANK in a grouped data
Replies: 26
Views: 8487

It looks like a goup change detection and giving a running number. Its been covered a lot. Search the forum for various ways. One has been described by gateleys.
by DSguru2B
Thu Mar 08, 2007 12:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Attach DSJ.JOBPID during job
Replies: 17
Views: 4219

Ok well it was worth a try. The environment variables are defined in the
Datastage Administrator.
Do this, in the before stage subroutine put,

Code: Select all

export myPID=$$

And to get the PID, specify the following in the stage variable

Code: Select all

GetEnvironment($myPID) 


Hope that will work.
by DSguru2B
Thu Mar 08, 2007 12:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Attach DSJ.JOBPID during job
Replies: 17
Views: 4219

Yes, where you see NAME...Initial Value bla bla bla, specify a name, give an initial value of 0 specify it as integer. Hit ok. Then in the transformer you will see your stage variable on the right hand side on the top. If you dont see it, click the fourth icon from the right. That icon, present at t...
by DSguru2B
Thu Mar 08, 2007 11:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Attach DSJ.JOBPID during job
Replies: 17
Views: 4219

Right click ont he greyed area and define a stage variable. WHen you do, open the window , right click, go to functions, its under utility. Pass $$ as parameter to GetEnvironment().
by DSguru2B
Thu Mar 08, 2007 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subrecord to Varchar
Replies: 23
Views: 7262

I havent used combine stage so cannot comment on its throughput against transformer. Build the entire job using your stage variables and run it with your sample data. If time is acceptable stick to it. In the mean time, maybe some one can throw light on how to get this working using combine stage or...
by DSguru2B
Thu Mar 08, 2007 11:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_Combined Operator Controller
Replies: 2
Views: 2148

It means what it says. A character was encounterd which is not a standard according to ISO-8859.
by DSguru2B
Thu Mar 08, 2007 11:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Attach DSJ.JOBPID during job
Replies: 17
Views: 4219

ray.wurlod wrote:You could employ the Transformer stage function GetEnvironment($$) when intializing a stage variable (for the Transformer stage's process ID) or GetEnvironment($PPID) for the job's process ID.

That does'nt work for you :?:
by DSguru2B
Thu Mar 08, 2007 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subrecord to Varchar
Replies: 23
Views: 7262

Well before I burn my brain cells further, even if you use routines, you will have to call them from within the transformer. So the usage of a transformer is inevitable. To reduce complexity, you can use stage variables. Boy, feels like we arrived at a point where we originally started. :?
by DSguru2B
Thu Mar 08, 2007 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Disabling Memory sharing
Replies: 1
Views: 788

Search on keywords "disabling memory sharing". Do an exact search.
by DSguru2B
Thu Mar 08, 2007 10:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subrecord to Varchar
Replies: 23
Views: 7262

I like the sud's footer note. Nice ....
by DSguru2B
Thu Mar 08, 2007 10:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Abort After 50 warnings
Replies: 13
Views: 5230

Actually, according to the docs, any child job is supposed to inherit the warning limit of the job that calls it. Which means it all goes back to the limit on the 'main' top level Sequence. That is true. But just because the child encountered 50 warnings, the main sequence wont have 50 warnings. Th...