Error while executing job in Protected Project

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
venky
Participant
Posts: 18
Joined: Thu Apr 29, 2004 1:10 pm

Error while executing job in Protected Project

Post by venky »

Hi All

I have a job which runs fine in normal project .
same job when imported in protected project and executed its throws an error.

Oracle_Enterprise_1: APT_OraInstanceSet::setup() failed to find an Oracle instance on node node1;
the hostname is `gpscgm10'.

Note : I am executing the job with same username "dsadm"
Note : While trying to view data in oracle stage it gives below error

##E TDOR 000288 09:47:54(001) <Oracle_Enterprise_1> APT_OraInstanceSet::setup() failed to find an Oracle instance on node node1;
the hostname is `gpscgm10'. [orainfo.C:762]
##E TFSR 000019 09:47:54(005) <main_program> Could not check all operators because of previous error(s) [api/step_rep.C:1144]
##E TCOS 000029 09:47:54(010) <main_program> Creation of a step finished with status = FAILED. [osh.C:1112]

any idea why this error occurs.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I suspect there is a problem with your environment variables not set properly in the protected project. I did a search on your error and found two results. Take a look at them
POST 1
POST 2
Hopefully you will find your answers in either of these two posts.
Regards,
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is the Oracle client propertly set up and configured on the machine whose fastname is mentioned in the configuration file for node1? In particular is there a tnsnames.ora file there that refers to the correct Oracle instance(s)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
venky
Participant
Posts: 18
Joined: Thu Apr 29, 2004 1:10 pm

Post by venky »

Hi guys

Setting APT_ORACLE_NO_OPS = 1 in Administrator , job ran successfully. thanx a lot for ur inputs


Venky
huge10
Participant
Posts: 18
Joined: Wed Jun 06, 2012 2:26 am

Post by huge10 »

Hi guys,
I have the same problem on Datastage 7.5 but I can't see any variable APT_ORACLE_NO_OPS to set "= 1"

Does it exists another kind of environment variable to set on Datastage 7.5?

Thanks a lot
Eug
the power is nothing without contol :-)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not all are listed "out of the box". Create it and see what happens.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Eleven years later - is that a DSXchange record?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sadly, probably not. And you might want to check your date math routine. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

LOL, burn.


Huge10: Make sure the Oracle client is properly installed on your hosts, and that they have the correct TNS entries for your setup.
huge10
Participant
Posts: 18
Joined: Wed Jun 06, 2012 2:26 am

Post by huge10 »

The TNS entries seems to be right.
With SQLPLUS the connection is OK.

I'll try to create the variable APT_ORACLE_NO_OPS and see what happens.
the power is nothing without contol :-)
Post Reply