Search found 6797 matches

by DSguru2B
Mon Feb 05, 2007 2:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

you can try g++ - O file.c to create its object file. I think :roll:
As Ray pointed out, try it out.
by DSguru2B
Mon Feb 05, 2007 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete files after the job is run
Replies: 4
Views: 1070

You can first load those 100 files to another folder, process them and then delete * from the folder.
by DSguru2B
Mon Feb 05, 2007 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cursor (loop)/row-by-row processing
Replies: 7
Views: 1684

I understand the part where you want to control the looping. Make it more clearer with examples. You can write a C function or maybe a BuildOp for more indepth control.
by DSguru2B
Mon Feb 05, 2007 12:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove/replace special characters
Replies: 5
Views: 6445

You can provide the tr function in the filter options of your sequential file stage. You dont need to redirect it to a new file.
by DSguru2B
Mon Feb 05, 2007 12:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Notification Error
Replies: 5
Views: 990

Its just your SMTP server refusing to provide connection. Thats what I think.
by DSguru2B
Mon Feb 05, 2007 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

Depending upon your compiler, you will provide the options. It will be present in APT_COMPILEROPT environment variable.
by DSguru2B
Mon Feb 05, 2007 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

What compiler option do you have. If you have aCC, then you can use acc +Z yourfunction.c
That will create the object file. Create a px routine from the manager, give it a name, external function name will be the name of your c function. Give the path of the object file.
by DSguru2B
Mon Feb 05, 2007 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

karthikraju wrote:I want to know will there a hit on performance if i am using a store procedure.

Depends upon your input. Keep in mind that the stored procedure will be called for each record. A C routine will be faster.
by DSguru2B
Mon Feb 05, 2007 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

You can write a stored procedure, yes, you can even write a C function. What exactly do you want to do?
by DSguru2B
Mon Feb 05, 2007 10:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert/Delete in DB2 table
Replies: 2
Views: 808

If you want to delete only the records based on key field and insert new ones then you can choose update action "Replace existing rows completely" or do a simple update based on the key.
by DSguru2B
Mon Feb 05, 2007 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with wrapped rows
Replies: 10
Views: 1804

Well then there must be something going wrong during the ftp. Are you sure your doing an ASCII ftp both from mainframe to unix and then from unix to windows.
by DSguru2B
Mon Feb 05, 2007 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with wrapped rows
Replies: 10
Views: 1804

Then that means you are having line feeds within your data. Report this back to the Mainframe folks.
by DSguru2B
Mon Feb 05, 2007 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cursor (loop)/row-by-row processing
Replies: 7
Views: 1684

Rows do get processed one at a time, in other words, row by row. WHat exactly are you looking for. You question sounded vague to me.
by DSguru2B
Mon Feb 05, 2007 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with wrapped rows
Replies: 10
Views: 1804

Is it just some rows displaying this behaviour or all the rows?
by DSguru2B
Mon Feb 05, 2007 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with wrapped rows
Replies: 10
Views: 1804

Get the file ftp'd in ASCII mode. This will ensure that the correct line terminator will be present for each platform.