Search found 6797 matches

by DSguru2B
Tue Jan 16, 2007 9:15 am
Forum: General
Topic: Aggregator and sum function
Replies: 21
Views: 9235

Using FMT with code R0 will round your input. Is that what you really want. What is the datatype of both of your columns? Need to know the sql type, the length and scale.
by DSguru2B
Tue Jan 16, 2007 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_CombinedOperator Controller
Replies: 4
Views: 1535

What is the workaround. What was the problem that you had. This is a rare problem and would really appreciate it if you share the solution with us. Also, you can delete your other post referring to the same problem.
by DSguru2B
Tue Jan 16, 2007 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ideal maximum limit for a hash file
Replies: 11
Views: 2694

For exact aproximation (if there is a sucha word couple), refer to this post.
by DSguru2B
Tue Jan 16, 2007 8:53 am
Forum: General
Topic: Aggregator and sum function
Replies: 21
Views: 9235

Welcome Aboard
Group by the key columns and provide Summation for the field you want to sum. This will sum up all the records corresponding to the grouping field in that particular column. If you want to add two columns you can do that in a transformer.
by DSguru2B
Tue Jan 16, 2007 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ideal maximum limit for a hash file
Replies: 11
Views: 2694

If time is of the essence then go for a database level join.
by DSguru2B
Tue Jan 16, 2007 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance tuning
Replies: 6
Views: 1702

Is your source a flat file or a database table? If the later then do an order by in the source and get sorted data. If former then you can use the os level sort by providing the -T option with it to specify the temp directory which will be used to hold groups during sorting. If over all you have low...
by DSguru2B
Tue Jan 16, 2007 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ideal maximum limit for a hash file
Replies: 11
Views: 2694

I say if you think, ever, you are going to go close to 2 GB, you need to think about it. Now depending upon your time window and your database activity, you decide whether to go with a hashed file or do the join at the database level. If you have time window is large, go for a hashed file, if there ...
by DSguru2B
Tue Jan 16, 2007 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting Job Variables in a stage and accessing it in another
Replies: 10
Views: 3281

Well... you would do that to pass data between jobs. Usually, to pass something between stages, all you need to do is add that new field to the link between the two stages. Why make this more difficult than it needs to be? The other option is 'COMMON' storage. Or one of those five available @USERn ...
by DSguru2B
Tue Jan 16, 2007 8:07 am
Forum: Site/Forum
Topic: Great Sixer!!!
Replies: 12
Views: 5137

Yup, he sure is. Good to have you back Arnd.
by DSguru2B
Tue Jan 16, 2007 8:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing file format from UNIX to Windows
Replies: 6
Views: 1159

Read your file as a unix file and load it to another file which is line terminator dos.
by DSguru2B
Tue Jan 16, 2007 8:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling empty hash files
Replies: 8
Views: 2151

You can run the above query in your routine itself using DSExecute(). Also if your hashed file was created in a directory path outside the project directory then you need to VOC pointer to the hashed file before using the select count(*) on it.
by DSguru2B
Tue Jan 16, 2007 7:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance problem using lookup
Replies: 23
Views: 4679

Try a smaller commit size. Maybe 20K. If nothing changes, get your dba involved to trace whats actually going on at the database end.
by DSguru2B
Tue Jan 16, 2007 7:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Redbrick
Replies: 10
Views: 2669

Check for that file in your default project directory. Maybe its sitting there somewhere. Also, did you provide 'Y' for the property "Remove intermediate data file"? Try with 'N'. If nothing works then set Load Automatically to 'N' and then go to the control file directory and see if it really gets ...
by DSguru2B
Tue Jan 16, 2007 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting Job Variables in a stage and accessing it in another
Replies: 10
Views: 3281

True. This is because stage variables are stage specific. You need to set the user status in your first transformer and retrieve it in the second. Search for setuserstatus. Its been covered a lot.
by DSguru2B
Tue Jan 16, 2007 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Accessing the same job in different sessions
Replies: 3
Views: 672

Not possible. It will give you a message, something to the effect, "Job xxx is accessed by another user".