Search found 6797 matches

by DSguru2B
Wed Feb 14, 2007 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem running job with parallel routine
Replies: 4
Views: 1474

Go for the Object File option while creating the parallel routine in DataStage. Provide the path of your object file(.o). The external name will be the name of your function as its in the code.
by DSguru2B
Wed Feb 14, 2007 5:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Single stage for running script
Replies: 11
Views: 2158

You can use either one. You might have more control in a routine as your can do error handling and produce appropriate messages in logs. If you dont need all that, then go for execute command stage.
by DSguru2B
Wed Feb 14, 2007 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating Multiple rows in output from single row in input
Replies: 16
Views: 4276

Well I wrote a small piece of code in the morning and was stuck in between how to return a value with all rows. I was getting some junk data. Therefore my misinterepretation and hence my assumption that I made earlier. But your example Ray, was like a wake up call as I use that all the time too. I l...
by DSguru2B
Wed Feb 14, 2007 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating Multiple rows in output from single row in input
Replies: 16
Views: 4276

My apologies. I was trying to build the same but was messing up at a place. I take my words back. If I get this done in a while Ill post the code.
My apologies once again.
by DSguru2B
Wed Feb 14, 2007 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating Multiple rows in output from single row in input
Replies: 16
Views: 4276

Actually C wont work. Come to think of it, C variables wont hold values with line feeds. The workaround could have been writing to a file but that would require the execution to be sequential. Parallel writes wont work. I guess its either a Basic transformer or an awk script. C will work but it has ...
by DSguru2B
Wed Feb 14, 2007 2:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call to output link returned numeric error code: -100
Replies: 3
Views: 1378

ray.wurlod wrote:At row #1 it's unlikely to be a space issue. Code -100 is often used to signal "end of data". Are you trying to sort an empty file?

Didnt pay attention to that, opsi :oops:
by DSguru2B
Wed Feb 14, 2007 2:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Abort the job based on some logic?
Replies: 9
Views: 3186

Me thinks the same :wink:
by DSguru2B
Wed Feb 14, 2007 12:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Printing Metadata
Replies: 6
Views: 1293

Is this table definition of some database table? If yes then you can query the system tables and get all the column names.
by DSguru2B
Wed Feb 14, 2007 12:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sigint
Replies: 1
Views: 792

Search for it, it has been covered time and again.
by DSguru2B
Wed Feb 14, 2007 11:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UDB Enterprise Stage
Replies: 4
Views: 981

You dont need to add it. It will appear on its own. Test it out.
by DSguru2B
Wed Feb 14, 2007 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Parallel routine
Replies: 7
Views: 2539

First get your small program compiled. Its fine the way it is. It will compile and run. But when your ready to convert this into a parallel routine, you need to get rid of main() and give it a function name like int AddNum(). So if i have to translate your code to a parallel routine it will be #incl...
by DSguru2B
Wed Feb 14, 2007 10:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Does anyone have DataStage (EE) benchmarking figures
Replies: 5
Views: 2750

Its hard to give figures without knowing the system and performing some tests. It depends upon how much is your data size, how many nodes are utilized etc etc etc.
by DSguru2B
Wed Feb 14, 2007 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call to output link returned numeric error code: -100
Replies: 3
Views: 1378

Welcome Aboard :)
I think you are running into some sort of limitation, temp space maybe. How many records are you trying to sort? Cut that in half, do you still get this error, if yes, cut it further down and see if the problem still persists.
by DSguru2B
Wed Feb 14, 2007 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem in transversing the file
Replies: 13
Views: 3295

ArndW wrote:The DataStage read of sequential files is pretty efficient; and DSParams is small file (if the file had millions of records I might reconsider, but this is going to take milliseconds to process).

Thanks for the clarification ArndW.
by DSguru2B
Wed Feb 14, 2007 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem reading the file
Replies: 11
Views: 2192

I believe you can write a C routine that includes a header file which has these functions defined to be called from a px transformer. I vaguely remember going through them in Advanced parallel developers guide. And am not at work today so cannot access the pdf files to confirm that.