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
HMTL Email inconsistencies between email apps
How to add route statement to 2000 Server or router?
Can't open default email folders in Outlook 2007 to connect to Exchange Server 2007?
Can I have a shell script continue after failure on a line?
Installing english version of Office on Chinese version of Windows Vista - is it possible
Case sensitivity
Admin has no rights to files on Server 2000 and can't take ownership
unzipping multiple zips to multiple folders in a batch file
Save attachment to Disk from Linux/Postfix
SSRS Filter Today + 7