Oracle Table Error

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
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Oracle Table Error

Post by kashif007 »

Hi All

I am trying to extract data from an Oracle table. I can see the data when I put the connection credentials of the database and view the data from the Oracle Enterprise stage. I also see the database connection parameters present in the TNSNAMES.ORA file on the unix server. But when I try to run the job I get the following error.

ITEM_MASTER,0: Fatal Error: Fatal: ORA-12154: TNS:could not resolve the connect identifier specified

Can anyone please help me find the solution to the problem.
Thanks
Regards
Kashif Khan
girija
Participant
Posts: 89
Joined: Fri Mar 24, 2006 1:51 pm
Location: Hartford

Post by girija »

Try to connect oracle from your unix box using that connect string. If failed, talk to DBA otherwise talk to your DS admin.
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

Actually when I hardcode the DB, ID and PWD values in the stage the job runs fine but when I put the DB, ID and PWD as a parameterized value then the stage fails with the following error.

Failure due to illogical operator

Is this IBM tools issue ?
Regards
Kashif Khan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Maybe, maybe not. Verify (in the job log, "job starting" event) that the correct parameter values are being passed to the job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

They look identical as below

Using Parameterization:
$RDWID=reliunix
$RDWPWD=LL;@1;VA=9BN0FEI49J52KI6B<<
$RDWDB=rdwp

With Parameterization job aborts.
====================================
Using Hardcoded Values:
$RDWID=reliunix
$RDWPWD=LL;@1;VA=9BN0FEI49J52KI6B<<
$RDWDB=rdwp

With Hardcoded credentials job runs successfully.
Regards
Kashif Khan
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

The Job works even with Job level parameters apart from hardcoded values, only the Project Level parameters are not being accepted. I am still not able to identify the problem ?
Regards
Kashif Khan
vinothkumar
Participant
Posts: 342
Joined: Tue Nov 04, 2008 10:38 am
Location: Chennai, India

Post by vinothkumar »

Can you check whether the Environment variables are having correct values through Administrator.
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

Values in the environment variable are the correct, my Client has opened a ticket with IBM.
Regards
Kashif Khan
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I believe you'll find there's a patch for that. What 8.x version are you running? If you're not on 8.1 have you loaded the 'fixpack'? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

Sorry for replying late. I am V 8.0.1

When I installed the Datastage Client, I had installed the following two fix patches.

patch_e119863 : Run-time error 5 when attempting to save an OCI stage table definition to the repository

patch_e124328 : Information Server Parallel job with FTP EE stage receives the error: Fatal Error: This index is out of range: 0

And none of these patches would fix my problem.[/b]
Regards
Kashif Khan
Post Reply