![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Urgent Help!! | vangalli | SUN Solaris | 4 | 01-31-2008 02:46 PM |
| urgent help | abir2 | UNIX and Linux Applications | 1 | 01-10-2008 04:29 AM |
| URGENT,URGENT- Need help tape drive installation | sriny | UNIX for Advanced & Expert Users | 3 | 11-16-2006 11:43 AM |
| URGENT---URGENT--No OK PROMPt after RSC CONFIG | sriny | SUN Solaris | 7 | 10-29-2006 07:06 AM |
| Go...???? Help Urgent | azertyuiop | UNIX for Dummies Questions & Answers | 1 | 08-11-2004 08:25 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
URGENT :pls help
Following is d code snipet
#!/bin/ksh retVal=`sqlplus -s user/passwd\@oracle_sid <<EOF SET SERVEROUTPUT ON SIZE 100000 DECLARE STATUS_VALUE VARCHAR2(1); BEGIN SELECT temp1 INTO STATUS_VALUE FROM sai; DBMS_OUTPUT.PUT_LINE(STATUS_VALUE); END; / exit; EOF` echo "Return Value Is=$retVal" if [[ $retVal = "N" ]]; then echo "Refresh is still going on" else echo "Refresh is done!! You can start the make" fi The output is : Return Value Is=N Refresh is done!! You can start the make Though the value of retVal is "N"...why its going in to else part ?? TIA. |
| Forum Sponsor | ||
|
|