Microsoft
Software
Hardware
Network
Question : KSH scripting solution to handle a sqlplus timeout
Hi,
When logging into an Oracle 10.2.0.3 DB with an incorrect user name or an incorrect service name the connection hangs and I must wait a long time for a timeout to occur before getting the prompt back again.
Can somebody show me how to handle such a timeout from within a KSH script? Basically, if the sqlplus connection hangs like this then after say 5 seconds the script needs to continue and state that there's an error ... but if the connection suceeds then it should continue as normal.
Thanks,
Mike.
Answer : KSH scripting solution to handle a sqlplus timeout
I did not succeed in attaching the file, however I found an external pointer to it:
http://src.opensolaris.org
/source/xr
ef//sfw/us
r/src/cmd/
bash/
bash-
3.2/exampl
es/scripts
/timeout
Random Solutions
MS Access can't start (DAO). Reinstall doesn't work
Crystal is picking up an empty field
sql server 2005: trc files
Accidentally deleted a mailbox
Desktops/laptop rebuild solutions
CAL's for new 2003 network
How do I read all properties of WMI class using KIX??
Need help with writing batch files to automate "dcdiag" and "repadmin" on eight DCs
Relaying Denied
oracle lite