![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error running sqlplus from shell file | mmunir | Shell Programming and Scripting | 3 | 02-06-2009 04:52 AM |
| SQLPLUS error | ssmith001 | Shell Programming and Scripting | 3 | 07-22-2008 12:00 PM |
| Error: Internal system error: Unable to initialize standard output file | firkus | UNIX for Dummies Questions & Answers | 2 | 10-25-2005 03:23 PM |
| error connecting to sqlplus | papachi | UNIX for Dummies Questions & Answers | 2 | 05-23-2005 11:05 AM |
| sqlplus -s error capture | w33man | Shell Programming and Scripting | 1 | 03-05-2004 04:26 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
HELLO,
I am using such a command to write oracle sqlplus query result to text file: sqlplus -S xxx/xxx@xxxxxxx @\tmp\2.sql>\tmp\123.txt Is it possible to script that: If command succesfull write in \tmp\log.txt: timestamp and "succeded" and create 123.txt with results else If error occured (ORA error, or OS error), write in \tmp\log.txt file timestamp "failed" error code (but don't write error in file 123.txt - dont create file 123.txt) Many thanks, Tomas |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|