-
On an Open VMS system running Oracle 8i client I access a database on another server using sqlplus with the following syntax:
sqlplus username/password@tnsname
This works fine but I don't want to bother with typing @tnsname each time. The DB is on another server so defining ORACLE_SID doesn't do it for me. Is there another logical I can set?
Martin
-
Hi,
you can create an alias for invoking sqlplus itself. Have multiple aliases created for different servicenames in .profile. I am talking about unix. I don't know about VMS.
Prasad.
-
Not sure about VMS, but in unix you can set TWO_TASK to the net service name to accomplish what you want.
-amar
-
Thanks for the help guys.
Defining a TWO_TASK logical didn't work so it looks like there isn't a shortcut for this.
Martin
-
Do you have the equivalent of export (in unix) in VMS?
In unix unless you export the TWO_TASK variable it does not work either!
-amar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|