The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-16-2008
yogichavan yogichavan is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 3
Error in scripts

I am using following code but getting error
Error on line 136:
(SQR 3710) Unknown argument type.

Given below part of program where i am getting error.......

input $p_region type=char

if ( '$p_region' = 'ESAP' )
let $msg = 'YES'
do log_msg ({PROG_NAME}, {SEV_INFO}, $msg)
else
let $msg = 'NO'
do log_msg ({PROG_NAME}, {SEV_INFO}, $msg)
fi


could you please let me know what is the solution for this.