Search found 200 matches

by trobinson
Thu Nov 13, 2003 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve First Row
Replies: 7
Views: 1828

By way of preparing everyone for the Brave New World of 7.0, Hash Files are NOT always the faster method. It does not make sense to use a hash file in a real-time application where volume is not a factor. If volume is not a factor here then I would explore using a group function on the SQL of TAB2. ...
by trobinson
Tue Nov 11, 2003 8:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Do i read and write to a oracle table at the same time..
Replies: 17
Views: 7363

Amen to that, brother.
by trobinson
Tue Nov 11, 2003 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error logging using Oracle OCI
Replies: 5
Views: 3529

We are 5.2.2, Oracle 9.02 on HP-UX 11.11. I imagine it is close enough to your installation for the following to apply. 1. You can use ODBC UNIX with Oracle. Not a problem. 2. Try changing your REJECT link to have a contraint where the DBMSCODE <> 0. Sometimes Oracle will return the ORA- code that c...
by trobinson
Fri Nov 07, 2003 12:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How Do i read and write to a oracle table at the same time..
Replies: 17
Views: 7363

Two Comments; 1. ETL is no longer synonymous with the word "BATCH". Staging data is meaningless in a real-time environment. Transaction Control rules here. It is paramount for restartability and recoverability. 2. I wonder how segment processing will evolve with the introduction of 7.0 or ...
by trobinson
Tue Nov 04, 2003 1:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Case Statment
Replies: 18
Views: 5716

Arg1 = 583 TRUE Arg2 is not MARSHAL ISL OR Arg2 is not KWAJALEIN Your code as written appears to be true to me in both cases you've presented. MARSHALISL is not KWAJALEIN AND 583 is one of the Arg1 choices. Likewise for Test. Test is not MARSHALISL and Test is not KWAJALEIN so they are both true AND...
by trobinson
Fri Oct 31, 2003 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML with DS 6/7 and Oracle 9i
Replies: 6
Views: 2358

We are realtime so performance is measured differently i.e. how fast to do a single row versus how many rows per second but... XMLReader was faster then XML Input because it has less functionality. Our XML was no more than 5000 bytes long. It took somewhere in the range .1-.5 secs per row. The Oracl...
by trobinson
Tue Oct 21, 2003 12:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to set up job sequencer
Replies: 12
Views: 3319

Re: how to set up job sequencer

I have job 1 and job 2. They both run a stored procedure and returns columnID value. in job 1 I set up a transformer constraint that looks like this. "[dslin1].columnID = 0" "[dslink2].columnID = -1" Reject Row Checked. in job2 i just output a sequential file. how can i set up a...
by trobinson
Wed Oct 01, 2003 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: orphaned connection to DS server
Replies: 4
Views: 2280

We're running HP-UX so it may be vastly different but... If we shutdown the ETL Engine while netstat shows connections then we get to do an OS reboot! The ETL Engine will NOT start again if it is shutdown while there are active connections. Your only option at that point is an OS re-boot. Never shut...
by trobinson
Wed Oct 01, 2003 5:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage and Stored Procedure
Replies: 8
Views: 1492

I doubt it. Datastage has no reason to default a stored procedure call transaction to read only. Did you try the stored procedure from SQLPlus? Were the results the same? It appears to me to be an Oracle issue.
by trobinson
Tue Sep 30, 2003 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with calling Oracle Stored Procedure
Replies: 6
Views: 2458

You can use CALL in the OCI Stage as User Defined SQL. You can pass in parameters. It is unsupported. To make sure the parameters are bound correctly make all the columns KEY = YES. You cannot get any values back. If you are hoping for some error checking be aware that not all errors returned from O...
by trobinson
Tue Sep 30, 2003 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage and Stored Procedure
Replies: 8
Views: 1492

If you are passing the stored procedure correctly, DataStage is oblivious to what happens within the stored procedure. What is the error you are getting? Is it an Oracle error? Depending on your need you could define the stored procedure parameter as INOUT. However, you'll never get anything out. Or...
by trobinson
Fri Sep 26, 2003 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert data with TIMESTAMP field (ORAOCI9)
Replies: 5
Views: 2841

I am not aware of any. The problem is that DataStage will not recognize the data type. I've got the same problem with CLOB. I have to invoke the to_char() everytime I deal with a CLOB field via DS. Another method I've seen is to make the datatype of the timestamp field a varchar2 since it appears yo...
by trobinson
Thu Sep 25, 2003 1:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert data with TIMESTAMP field (ORAOCI9)
Replies: 5
Views: 2841

Sorry, I'm one paren short of a full load. It's the closing paren giving you the very informative missing comma error.
Try
insert into temp (field1) values(to_timestamp('2003-09-24 17:59:00.123456','YYYY-MM-DD HH24:mi:ss.ff6'));
by trobinson
Thu Sep 25, 2003 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert data with TIMESTAMP field (ORAOCI9)
Replies: 5
Views: 2841

Try this user defined SQL;
insert into table () values (to_timestamp(:1, 'YYYY-MM-DD HH24:mi:ss.ff6').
Make sure the bind variable column (:1) data is in the desired format. You don't have to go all the way to microseconds. It can be any valid date up to ff6.
by trobinson
Thu Sep 04, 2003 12:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current timestamp
Replies: 10
Views: 3318

Put the following in a routine. It works when we upgraded to 5.2.2 running on HP-UX 11.11 so it should work for you in DS 6.0. CurrTime = SYSTEM(12000) Ans=OCONV(DATE(), "D/YMD[4,2,2]") : " " : OCONV(CurrTime, "MTS:") : ".":field(CurrTime,".",2) Outp...