Search found 6797 matches

by DSguru2B
Mon Jan 29, 2007 9:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API load error
Replies: 9
Views: 2033

You data is fine. The numeric number before you date is just the internal format which is pulled up along with the date when ever you do view data. The main issue here is that you have a unique constraint issue. Check with you dba on which column has unique index on it and handle duplicates
by DSguru2B
Mon Jan 29, 2007 9:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: cc1plus consuming CPU
Replies: 3
Views: 1400

Thats one heck of a job your developer has there :shock:
by DSguru2B
Mon Jan 29, 2007 9:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to make the whole job as a transaction ?
Replies: 3
Views: 864

You might want to be careful with what option you choose. If the data size is relatively small, you could go with setting the transaction size to 0. But if its in millions, then go for the Bulk loader, else your temp space might run out on the database end.
by DSguru2B
Mon Jan 29, 2007 7:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal to Timestamp conversion
Replies: 2
Views: 1098

Welcome Aboard :)
Apply DecimalToString(). Use Field() to get everything before the decimal and, concatenate the time and then use StringToTimestamp().
by DSguru2B
Mon Jan 29, 2007 7:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get String with single quota .
Replies: 6
Views: 1055

And I was just fooling around I guess :roll:
by DSguru2B
Mon Jan 29, 2007 6:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get String with single quota .
Replies: 6
Views: 1055

That will help. "IF" is out of question :wink:
This has to be done while creating your source file.
by DSguru2B
Mon Jan 29, 2007 6:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API load error
Replies: 9
Views: 2033

Check the table for unique index. It will tell you what column has unique index on it.
by DSguru2B
Mon Jan 29, 2007 5:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB API load error
Replies: 9
Views: 2033

You have a unique index on one of the columns which has duplicates from your source. Handle them before loading them.
About the date part, I have no idea whats going on with your date. How is it coming in from the source?
by DSguru2B
Mon Jan 29, 2007 5:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

ray.wurlod wrote:
Krazykoolrohit wrote:It just blows up when run with 12 other jobs parallely through sequence.

All trying to write to the same sequential file? Tch! Tch!

Thats a good one, :wink:
by DSguru2B
Mon Jan 29, 2007 5:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Automation of DS JOBS BACKUP
Replies: 7
Views: 1631

You can find a batch job at Kims Home Page. to do the same for you.
by DSguru2B
Mon Jan 29, 2007 5:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to Handle Two Different Date Formats
Replies: 5
Views: 1253

If its a flat file then the OP can make it a character field and then use the Field() function.
by DSguru2B
Mon Jan 29, 2007 4:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Truncation -RESOLVED
Replies: 8
Views: 2121

You are not giving any argument for RType. By default its trunc_zero and hence truncating everything after the decimal point. In DS Help type DecimalToDecimal, it will give you the help. Read over it and provide the correct RType.
by DSguru2B
Mon Jan 29, 2007 4:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when checking composite operator: Subprocess command
Replies: 8
Views: 4360

Check your source data whether your data is really coming in decimal format. Or this time you got an integer?
by DSguru2B
Mon Jan 29, 2007 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

I guess your hitting a limit somewhere. This is what IBM has to say about SQL 1652N. SQL1652N File I/O error occurred. Explanation: Error occurred either opening, reading, writing, or closing a file. User Response: Check the db2diag.log for details. Also, check for disk full conditions, file permiss...
by DSguru2B
Mon Jan 29, 2007 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to Handle Two Different Date Formats
Replies: 5
Views: 1253

I would say extract and check. Use Field() to extract month, then check length if 1, prefix it with zero. Do the same with day and year. You can do this in a stage variable. Then once the formatting is done in the stage variable, feed it to the StringToDate() function.