Oracle stage error in 8.1

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Oracle stage error in 8.1

Post by prasad111 »

Hi,


I am able to access the table from server job successfully but not in parallel job.

Whenever I use the oracle enterprise stage, I get the following error.

Code: Select all

Error:
Oracle_Enterprise_7: Error occurred during initializeFromArgs().
Oracle_Enterprise_7: Connect failed: Oracle client version 0 is NOT supported.
Oracle_Enterprise_7: APT_OraReadOperator: connect failed.

Dump:

main_program: Dump:
{ 
  text="oraread
-nchar_cs UTF-8
-db_cs UTF-8
-dboptions '{user=bbbb,password=******}'
-query 'select
server_name
from
tb_server_details'
-server 'database_name'
-use_strings
[ident('Oracle_Enterprise_7'); jobmon_ident('Oracle_Enterprise_7')]
0> [modify(keep server_name;server_name:nullable string[max=40]=server_name;)] 'Oracle_Enterprise_7:DSLink9.v'
;
peek
-nrecs 10
-name
[ident('Peek_0'); jobmon_ident('Peek_0')]
0< [] 'Oracle_Enterprise_7:DSLink9.v'
;", 
  line=1, column=1, name="", qualname="", 
  op={ 
       text="oraread
-nchar_cs UTF-8
-db_cs UTF-8
-dboptions '{user=bbbb,password=******}'
-query 'select
server_name
from
tb_server_details'
-server 'database_name'
-use_strings
[ident('Oracle_Enterprise_7'); jobmon_ident('Oracle_Enterprise_7')]
0> [modify(keep server_name;server_name:nullable string[max=40]=server_name;)] 'Oracle_Enterprise_7:DSLink9.v'", 
       line=1, column=1, name=oraread, qualname=Oracle_Enterprise_7, 
       wrapout={},
       wrapperfile=oraread, kind=non_wrapper_cdi_op, exec_mode=none, 
       args="'UTF-8'-db_cs'UTF-8'-dboptions'{user=bbbb,password=******}'-query'select\nserver_name\nfrom\ntb_server_details'-server'database_name'-use_strings'", 
       output={ 
                text="
0> [modify(keep server_name;server_name:nullable string[max=40]=server_name;)] 'Oracle_Enterprise_7:DSLink9.v'", 
                line=12, column=1, name="", 
                qualname="Oracle_Enterprise_7[o0]", 
                data="Oracle_Enterprise_7:DSLink9.v", 
                outadapt="keep server_name;server_name:nullable string[max=40]=server_name;"
              }
     },
  op={ 
       text="
peek
-nrecs 10
-name
[ident('Peek_0'); jobmon_ident('Peek_0')]
0< [] 'Oracle_Enterprise_7:DSLink9.v'", 
       line=18, column=1, name=peek, qualname=Peek_0, 
       wrapout={},
       wrapperfile=peek, kind=non_wrapper_cdi_op, exec_mode=none, 
       args="'10'-name'", 
       input={ text="
0< [] 'Oracle_Enterprise_7:DSLink9.v'", line=22, 
               column=1, name="", qualname="Peek_0[i0]", 
               data="Oracle_Enterprise_7:DSLink9.v"
             }
     },
  data={ 
         text="
0> [modify(keep server_name;server_name:nullable string[max=40]=server_name;)] 'Oracle_Enterprise_7:DSLink9.v'", 
         line=12, column=1, name="Oracle_Enterprise_7:DSLink9.v", 
         qualname="Oracle_Enterprise_7:DSLink9.v", 
         partwrapout={},
         collwrapout={},
         dir=flow, kind=ds, writer=Oracle_Enterprise_7, reader=Peek_0, 
         pp=none, trunc=default, ident="Oracle_Enterprise_7:DSLink9.v"
       }
}

Your replies are highly appreciated.

Thanks & Regards
Prasad
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What version of Oracle are you using and is the Oracle DB server on the same machine as the DataStage engine? Have you tried using ODBC in PX to connect to Oracle?
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Post by prasad111 »

We are using Oracle v10.2.0.4.
Yes we have the Oracle and Datastage on the same machine(assume as server A1).
No, we haven't tried the job using ODBC Stage. However, we could execute the same job in different server with oracle enterprise stage.(same steps to configure the other server A2 and the project)
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Post by prasad111 »

We are using Oracle v10.2.0.4.
Yes we have the Oracle and Datastage on the same machine(assume as server A1).
No, we haven't tried the job using ODBC Stage. However, we could execute the same job in different server with oracle enterprise stage.(same steps to configure the other server A2 and the project)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

So find out, and inform us, what is different between the environment where it does work and the environment where it does not work. "Nothing" is not the correct answer, though the difference may be external to DataStage. Or it may not be. You have to be the detective.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Post by prasad111 »

Thanks for the response.

I did compare the dsenv, lib*.so files and config files and the project settings in administrator looked similar in both the environment, what else should I compare, please suggest.

Thanks & Regards
Prasad
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Perhaps your Oracle library search paths and environment variables are different.
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Post by prasad111 »

Thanks for the reply.

The sql loader was not installed properly in the oracle, so it was showing the error, nothing wrong with the datastage installation. We reinstalled the oracle it is working fine.
Post Reply