procedure meta data import DSN issue on AIX

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
muhammad.aqeel
Participant
Posts: 2
Joined: Wed Jul 26, 2006 12:28 am
Location: Pakistan

procedure meta data import DSN issue on AIX

Post by muhammad.aqeel »

Dear All,
we are using DS server edition here on our DW project
server is on the AIX machine and client is on the windows machine
oracle 10g database is on the AIX machine as well . We have created few procedure and want to call them with Stored Procedure Stage but whenever I go to import the stored procedure definition following error occurs

"Empty DSN: list returned from host 172.20.16.150"

how can i configure the DSN on my AIX machine
Please help me out
Regards
????
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have you configured the DataStage Server for Oracle yet? The process is documented in both the 'Plug-in Installation and Configuration Guide' and the OCI stage docs themselves.

Is this your only problem? Are you able to do other Oracle tasks like import plug-in metadata using an OCI stage or run a job with an OCI stage in it? If not, then see above.

You know, you don't have to pick the DSN from a list, you can always just type one in for it to use...
-craig

"You can never have too many knives" -- Logan Nine Fingers
muhammad.aqeel
Participant
Posts: 2
Joined: Wed Jul 26, 2006 12:28 am
Location: Pakistan

solution

Post by muhammad.aqeel »

to import the procedure definition you need the DSN but u can simply put the procedure name in the procedure name field and then in the call simply say begin procedure name; end; and it will execute
one of my friend found the solution :) THANKS A LOT FOR THE HELP
Last edited by muhammad.aqeel on Thu Jul 27, 2006 7:18 am, edited 1 time in total.
????
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You haven't solved your problem with importing the metadata. And of course it will execute without having to do that first, it just simplifies the setup of the stage when you've got a complex SP.
-craig

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

Post by ray.wurlod »

Indeed, DataStage will not be able to check that the number of columns in your design matches the number of arguments in the stored procedure, so is likely to generate a warning to this effect.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply