Computing.Net > Forums > Solaris > capture status of sqlplus login

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

capture status of sqlplus login

Reply to Message Icon

Name: T Ritesh
Date: November 29, 2003 at 22:32:52 Pacific
OS: Solaris
CPU/Ram: 256
Comment:

I have a unix shell script which accesses the database through sqlplus. I want to check the status of login into sqlplus. At present i check for the status using following code.

sqlplus -s $id/@domain @pwd > @$sqlstatus

if [ $(grep "ERROR" $sqlstatus) -ne 0 ]
then
--------
fi

I want to avoid the above code.

Any solutions.

Thanks in advance.

Ritesh



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: capture status of sqlplus login

size of solaris logo at login www.computing.net/answers/solaris/size-of-solaris-logo-at-login/4019.html

rsh status www.computing.net/answers/solaris/rsh-status/4370.html

Solaris Failed logins, then Lockout www.computing.net/answers/solaris/solaris-failed-logins-then-lockout/1385.html