How can i make Oracle connection from UNIX

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
vemisr
Participant
Posts: 72
Joined: Thu Sep 11, 2008 1:31 pm

How can i make Oracle connection from UNIX

Post by vemisr »

HI expers,

how can i connect to Oracle table from unix, i need to update the DSjob status, run time, source and traget information in a JOB_HISTORY table.


i used connection statement but it didn't connecting.

i need to run this connect statement from UNIX SHELL Script.

Thanks in advance.
vemisr
dougcl
Premium Member
Premium Member
Posts: 137
Joined: Thu Jun 24, 2010 4:28 pm

Post by dougcl »

Use sqlplus?
swapnilverma
Participant
Posts: 135
Joined: Tue Aug 14, 2007 4:27 am
Location: Mumbai

Post by swapnilverma »

use sqlplus -s uname/password@instance_name


make sure oracle path is set ...
Thanks
Swapnil

"Whenever you find whole world against you just turn around and Lead the world"
Post Reply