Search found 6797 matches

by DSguru2B
Tue Feb 20, 2007 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FMT function
Replies: 7
Views: 10497

Code: Select all

 If INDEX(in.Col, ".",1) > 1 then FMT(in.Col, "9'0'R2") else FMT(in.Col, "9'0'R")
by DSguru2B
Tue Feb 20, 2007 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assigning Env Variable value to a column in PX transformer
Replies: 14
Views: 5466

Same command.
And a friendly reminder, "No Hijacking of threads."
by DSguru2B
Tue Feb 20, 2007 1:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: optimum way to delete/insert
Replies: 5
Views: 1027

That should be just fine. Make sure you create a dummy variable and set the constraint to @INROWNUM = 1, so that it does'nt run forever.
The array size wouldnt matter in this case.
by DSguru2B
Tue Feb 20, 2007 12:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Parallel custom Stage(Build)
Replies: 8
Views: 3735

Ande, I meant code not the compiler. I am well aware of the fact that a C++ compiler is used.
by DSguru2B
Tue Feb 20, 2007 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing to sequential file
Replies: 8
Views: 1865

You can write it to NULL. In unix it would be /dev/null. I think its windows equivalent is NUL or \NULL.
by DSguru2B
Tue Feb 20, 2007 8:19 am
Forum: General
Topic: Modifying Stage Variables
Replies: 3
Views: 1338

Sure, just pass the new value to the stage variable and it will be updated with the new value coming in with every row.
by DSguru2B
Tue Feb 20, 2007 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tracking down slow processing issue?
Replies: 5
Views: 2136

What is different between the two systems? Is this a 64 bit hashed file? Also, what kind of transformations are you doing with the two columns? It will depend if its straight load, or a routine call with complex manipulations. If its none of that, then even 2300 rows per second on your dev box seems...
by DSguru2B
Tue Feb 20, 2007 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating custom triggers in Datastage sequencer
Replies: 6
Views: 6002

One of the projects at my current site is implementing something similar. The flow is such that a job keeps doing a select from the trigger table and populating a file. In Job control the contents of the file are checked, if we get what we want, we trigger the jobs, else the job goes to sleep for x ...
by DSguru2B
Tue Feb 20, 2007 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RTI package
Replies: 6
Views: 1483

Have you tried searching, the manuals, pdf help files :idea:
by DSguru2B
Tue Feb 20, 2007 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reding Unix Output inDS routine
Replies: 3
Views: 1248

UnixOutput, is this the Output from DSExecute() ?
If yes then it is a dynamic array where every element is seperated by @FM which in reality are the line feeds. If you just want the first element you can just request for the same by using

Code: Select all

var1 = UnixOutput<1>
by DSguru2B
Tue Feb 20, 2007 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concern about REMOVE DUPLICATE STAGE..............
Replies: 15
Views: 23077

kumar_s wrote:Oh.. ok, the discussion is for the next method. The usage of filter is coupled with Sort stage. And hence there is no need to use of stage variable as well.

I guess I couldnt gather much at a glimpse. :oops:
by DSguru2B
Mon Feb 19, 2007 8:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concern about REMOVE DUPLICATE STAGE..............
Replies: 15
Views: 23077

kumar_s wrote:Any specific reason, if Transformer can be replace by Filter, it should be good isn't?

No reason to add another transformer. In order to use stage variables, usage of transformer is inevitable. Just constraint the output in the same transformer. Hence eliminating the need of a filter stage.
by DSguru2B
Mon Feb 19, 2007 8:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assigning Env Variable value to a column in PX transformer
Replies: 14
Views: 5466

Pay attention, next month Ill go by some other name :wink:
by DSguru2B
Mon Feb 19, 2007 8:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Naming a sequential file
Replies: 42
Views: 5794

Delete previous weeks file in the before job subroutine. As for the naming convention, Ray has given you a solution.