![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
| View Poll Results: Which Shell is more powerfull or most used. | |||
| KSH |
|
1 | 100.00% |
| BASH |
|
0 | 0% |
| Voters: 1. You may not vote on this poll | |||
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script Error: 13192.sumr: 0403-016 Cannot find or open the file. | jgruenwald | Shell Programming and Scripting | 0 | 01-21-2008 08:08 AM |
| find error | ust | Shell Programming and Scripting | 1 | 01-14-2008 04:46 AM |
| Error Message: find: cannot open /: Stale NFS file handle | ezsurf | SUN Solaris | 1 | 10-11-2007 05:04 PM |
| I want to get the file which created the error when the find command was run | guhas | Shell Programming and Scripting | 1 | 10-21-2005 12:06 PM |
| getting error 0403-016 Cannot find or open the file while reading a long line | karthee | Shell Programming and Scripting | 2 | 06-04-2005 09:00 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
|||
|
Code:
echo " file name \c"
read filename
grep 'ORA-12545' $filename |\
while read result
do
IFS=: && echo "$result" | read filename message
echo "File: $file $message Please contact DBA"
done
Last edited by jim mcnamara; 04-14-2008 at 03:04 AM. |
|
||||
|
hi jim ,
i tried running that script after replacing the string with filename.Log_fail* it takes the file name then it read the script but didnt echo anything actully..... it didnt echo anything , i think it have to add else statment in it ...... that says no error found . thnz techbravo |