Search found 6797 matches

by DSguru2B
Wed Apr 25, 2007 7:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert using API stage
Replies: 2
Views: 591

Delete records from Table X in one job.
In second job identify the inserts and updates and do them in two seperate jobs OR send it in with Upsert option.
by DSguru2B
Wed Apr 25, 2007 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapper Stage
Replies: 12
Views: 2973

Is there any error message in the log?
by DSguru2B
Wed Apr 25, 2007 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing Records Rejected due to Load Option
Replies: 2
Views: 780

You can probably script it. After every table load, have an after job subroutine fire off a shell that cats the file and greps for the appropriate word that identifies the table. Look for particular warnings and if it exists, send out an email from the script itself.
by DSguru2B
Wed Apr 25, 2007 7:04 am
Forum: General
Topic: How to add datetime stamp + duration hours
Replies: 3
Views: 1786

There is a routine somewhere in the archives that I wrote that adds hours, minutes, seconds, even milliseconds to timestamp. Search for it.
by DSguru2B
Tue Apr 24, 2007 5:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimals on Oracle
Replies: 5
Views: 889

Try either of the following for the sales column

Code: Select all

Oconv(in.sales, "MR2")
OR
FMT(in.sales,"R2")
by DSguru2B
Tue Apr 24, 2007 3:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimals on Oracle
Replies: 5
Views: 889

sales column looks fine. Your first column "date" seems to be the culprit. Is that truely a date field? How are you converting that and whats your target column type?
by DSguru2B
Tue Apr 24, 2007 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimals on Oracle
Replies: 5
Views: 889

Specify a reject link and analyze what records are the culprits. I am suspecting that your decimal field has more than just numbers.
by DSguru2B
Tue Apr 24, 2007 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage works first time only
Replies: 3
Views: 742

I dont see a commit in your stored proc. Does this stored proc. work properly from command line? Add a commit at the end or instead of delete, do truncate and see what happens.
by DSguru2B
Tue Apr 24, 2007 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Warning
Replies: 3
Views: 838

Search would have revealed all. Infact, there is an open topic by you on the very same error here.
by DSguru2B
Tue Apr 24, 2007 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare 2 Lists of Values
Replies: 1
Views: 447

You can use the Join stage, lookup stage and a few others. You said [b]output a row[b], which column is going to decide that, the first column or the second column? Never the less you can create two datasets and do a lookup keyed on 1st column for one dataset and 2nd for its copy. Depending upon the...
by DSguru2B
Tue Apr 24, 2007 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference in Lookup row count - ODBC and UniVerse Stage
Replies: 4
Views: 831

chulett wrote:No, the technique is perfectly valid. You build the hashed file with X keys and lookup on < X in the UV stage.

Lets hope the OP really built the hashed file with X keys and specified < X in the where predicate.
Dont worry about guessing, Ill do it for you :wink:
by DSguru2B
Tue Apr 24, 2007 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage 8.0 on Windows Versus Linux
Replies: 1
Views: 579

Welcome Aboard Please use the search facility. There have been few discussions on this topic before. Can you explain slow? Where does your Oracle sit? There will be network introduced again, right. 25 Million records is not that much. You can probably do a table export to a flat file, ftp the file o...
by DSguru2B
Tue Apr 24, 2007 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference in Lookup row count - ODBC and UniVerse Stage
Replies: 4
Views: 831

Because your loading a hashed file which will remove duplicates and hence defeat the purpose of Multirow result set return. Stick to ODBC stage.
by DSguru2B
Tue Apr 24, 2007 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: timestamp
Replies: 5
Views: 1611

or something like

Code: Select all

StringToTimestamp(in.Col,"%yyyy%mm%dd%hh%nn")
by DSguru2B
Tue Apr 24, 2007 1:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Oracle loading "ORA-01843: not a valid mon
Replies: 3
Views: 1390

For debugging purposes, change all date formats to YYYY-MM-DD. See what happens.