Search found 6797 matches

by DSguru2B
Wed Feb 14, 2007 8:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem in transversing the file
Replies: 13
Views: 3295

Wont the OP be better off doing this in a shell script? Wont it be faster? Right now she is reading each line one by one and DSParams file is not a small file. :roll:
by DSguru2B
Wed Feb 14, 2007 8:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Abort the job based on some logic?
Replies: 9
Views: 3186

chulett wrote:Just run the job. If the file isn't there, the job will abort without you having to do anything.


There you go, its as simple as that :lol:
Dont abort the job, end it gracefully as others have noted.
by DSguru2B
Wed Feb 14, 2007 8:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Stage
Replies: 3
Views: 1090

You can use DRS stage and write a the delete statement in the before sql tab.
When you say "first delete and then insert", an option already exists for it. Is this a selective delete. Give more info on the delete 'where predicate'.
by DSguru2B
Wed Feb 14, 2007 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic File Names
Replies: 4
Views: 1157

I posted a script a while back to do exactly what you want. Search for it. Its a small script and will get your work done with less work and back ache.
by DSguru2B
Wed Feb 14, 2007 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace comma with next line character at even position
Replies: 11
Views: 2264

madhukar wrote:But i have to do it in datatsage and ....

You have several solutions now. Pick your choice. Get as far as you can and if you have any problems, come back with what you have done and whats not working.
by DSguru2B
Wed Feb 14, 2007 7:51 am
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

awk will definately do the trick. You can also write a C routine which takes in your three columns and returns the generated rows.
by DSguru2B
Tue Feb 13, 2007 8:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Estimating Memory Size
Replies: 2
Views: 1009

Do different levels of search on key words like "memory estimate" or "scratch space estimate". This has been discussed before.
by DSguru2B
Tue Feb 13, 2007 8:40 pm
Forum: General
Topic: group and create sequence..is it possible in DataStage
Replies: 4
Views: 1593

Hereis a similar post.
by DSguru2B
Tue Feb 13, 2007 8:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem reading the file
Replies: 11
Views: 2192

Get yourself a compiler. Or if its there get it setup. Transformer should work fine then.
by DSguru2B
Tue Feb 13, 2007 8:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace comma with next line character at even position
Replies: 11
Views: 2264

If you have to go with OS then use awk. awk can get this done.
by DSguru2B
Tue Feb 13, 2007 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Parallel routine
Replies: 7
Views: 2539

What compiler do you have? aCC or gCC? Check the compiling options in APT_COMPILEROPT. Try them and they should get your C program compiled.
by DSguru2B
Tue Feb 13, 2007 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Teradata error
Replies: 7
Views: 1259

537 columns huh? The error says 539. Ray might have hit the bulls eye. I wonder if that number 539 in the error has a meaning, like number of columns present or something.
by DSguru2B
Tue Feb 13, 2007 2:55 pm
Forum: General
Topic: When do the Project and Job property defaults take effect?
Replies: 3
Views: 1366

The C function will return a character field. YOu need to change it to timestamp using StringToTimestamp(). I tested the whole nine yards here at my end and its working like a charm. I wonder what you are doing wrong Did you populate the results to a flat file first and inspected the file? Once you ...
by DSguru2B
Tue Feb 13, 2007 2:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 SQL referencing a list
Replies: 16
Views: 4846

And well worth it. The entire routine is right there.