Search found 46 matches

by Neil C
Wed Aug 11, 2004 7:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple writes to a Hash file
Replies: 2
Views: 1562

Multiple writes to a Hash file

I have a DS job that has three transform stages, all writing to the same hash file. The job exceute SQL to access the MAX(BATCH_ID) from a number of Oracle tables. The first stage accesses a single table and completes in a second or so, and writes this row to the hash file after a delete/create of t...
by Neil C
Sun Aug 08, 2004 7:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert/update
Replies: 4
Views: 927

Bobby, check your indexes on tablename. If curr_flg is not the initial field in an index, then you will be doing a table space scan on the whole of tablename to do each update. If the table is large, performance will be very bad. How large is the table? Please do an explain on your SQL to find out h...
by Neil C
Wed Aug 04, 2004 8:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs "Hanging"
Replies: 9
Views: 4593

Craig, could you define 'large' please? We do not clean up &PH& (so far!) and I find that we have about 4,000 files in this directory. I would assume that this could be causing us some grief?

Thanks,
Neil Courtney
by Neil C
Mon Jul 05, 2004 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reporting tool doc_tool.mdb location
Replies: 1
Views: 920

Reporting tool doc_tool.mdb location

Can the location of the standard doc_tool.mdb database be changed from the default C: drive directory to another local drive or network drive? Failing this, I could try to find an Oracle database somewhere with enough space free. If so, how can I do this? If not, I may get my disk partitioning chang...
by Neil C
Thu Jul 01, 2004 10:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1823

It is the caching of the WITH data that is the main bit. This query is evidently done only once per session. With the query above that I am running now, it is returning all qualifying rows, so a correlated sub query would be just as good, or nearly so, I suspect. I am just using this as a test bed. ...
by Neil C
Thu Jul 01, 2004 9:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1823

I am using an ORAOCI9 stage, and User Defined SQL query. Yes, it could be coded like that, but I have been told (by someone who knows much more about Oracle than I do at this time) that the WHEN clause is more efficient than the current normal join coding. Eg. SELECT ... FROM EK.key_table EN.name_ta...
by Neil C
Thu Jul 01, 2004 8:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 9.2.0.5 WITH clause fails
Replies: 5
Views: 1823

Oracle 9.2.0.5 WITH clause fails

I am trying to execute some SQL on an Oracle 9i v9.2.0.5 system using the WITH clause to use subquery factoring. I get the following message from DataStage. TestWithClause..ORA_LOOKUP: ORA-00904: "A_NAME": invalid identifier TestWithClause..ORA_LOOKUP.DSLink1: DSP.Open GCI $DSP.Open error ...
by Neil C
Wed Apr 21, 2004 5:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director.exe startup shortcut
Replies: 3
Views: 1041

works a treat. Thanks Craig.
by Neil C
Wed Apr 21, 2004 5:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director.exe startup shortcut
Replies: 3
Views: 1041

Sorry, should have said that this is on Win2K PC.
by Neil C
Wed Apr 21, 2004 5:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Director.exe startup shortcut
Replies: 3
Views: 1041

Director.exe startup shortcut

When I use director.exe the host system, user name and project name are saved (if the save settings box is checked of course). However, if I have two DS systems that are normally used, can I set up shortcuts so that I can start either or both sessions without having to do a lot of typing? (I object ...
by Neil C
Mon Apr 19, 2004 8:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error on DB2 Stage
Replies: 2
Views: 1310

The -100 might indicate that there are no records in the production table.

Are there any DB2 messages on the DSNMSTR log? Perhaps you have security issues.
by Neil C
Mon Mar 15, 2004 7:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal Termination - Urgent
Replies: 3
Views: 1852

Error code 911 would indicate that you are getting a DB2 deadlock or timeout error. It is probably actually -911. THE CURRENT UNIT OF WORK HAS BEEN ROLLED BACK DUE TO DEADLOCK OR TIMEOUT. REASON , TYPE OF RESOURCE , AND RESOURCE NAME Check on the DSNMSTR log for the reason, such as who was holding t...
by Neil C
Tue Feb 17, 2004 5:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file EOF
Replies: 2
Views: 1351

Sequential file EOF

Hi all, is it possable to check for an EOF condition on an input file? I have a simple job that reads a sequential file and writes another, after various lookups. I would like to be able to write to a third file, to record input and output record counts, and the value of various stage variables if r...
by Neil C
Sun Feb 08, 2004 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle update SQL problem
Replies: 7
Views: 8613

Hmm. Spoke too soon. On setting one field to NULLs, I now get the message "ORA-00001: unique constraint (P.PF003_TEXTKEY_INDEX) violated " So this would indicate that the initial DELETE statement could not delete the record. There was no message returned to indicate that this was the case....
by Neil C
Sun Feb 08, 2004 9:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle update SQL problem
Replies: 7
Views: 8613

Problem solved. And I have now learnt about the Update action option of "Replace existing rows completly". Null values are not a problem with this option, as far as I can see.