<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Some error in Bourne shell script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817491#M100220</link>
    <description>And just to clarify, the #!/bin/sh line is actually running HP's POSIX shell, a superset of the Korn shell. Also, /bin is only found in older SysV Unix systems and BSD systems like Linux. On HP-UX (and Solaris and other modern SysV's) the directoru is really /usr/bin. /bin in HP-UX is not a directory at all but a temporary transition link.</description>
    <pubDate>Wed, 05 Jul 2006 06:13:50 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-07-05T06:13:50Z</dc:date>
    <item>
      <title>Some error in Bourne shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817489#M100218</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi All&lt;BR /&gt;&lt;BR /&gt;I am new to this bourne shell script.When i try to call oracle stored procedure as command line arguments it is giving some error&lt;BR /&gt; = =  = = = = = = =  = = = = = = =  = = = = = = =&lt;BR /&gt;&lt;BR /&gt;POSITION','20060605','Avinash','xyx.csv','Y','Y',200 ();&lt;BR /&gt;          *&lt;BR /&gt;ERROR at line 2:&lt;BR /&gt;ORA-06550: line 2, column 11:&lt;BR /&gt;PLS-00103: Encountered the symbol "," when expecting one of the following:&lt;BR /&gt;:= . ( @ % ;&lt;BR /&gt;ORA-06550: line 2, column 55:&lt;BR /&gt;PLS-00103: Encountered the symbol "(" when expecting one of the following:&lt;BR /&gt;) ,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;= =  = = = = = = =  = = = = = = =  = = = = = = =&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; #!/bin/sh&lt;BR /&gt; # File input_file_audit.sh&lt;BR /&gt; echo "Before Calling the Function "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; . common_functions.sh&lt;BR /&gt;&lt;BR /&gt;input_file_audit()&lt;BR /&gt;{&lt;BR /&gt; echo "in Function Befoire Calling Common Function File"&lt;BR /&gt; DATA_TYPE=$1&lt;BR /&gt; SNAPSHOT_DATE=$2&lt;BR /&gt; SOURCE_SYSTEM_ID=$3&lt;BR /&gt; POSITION_DATA_FILE=$4&lt;BR /&gt; HEADER_VALIDATE=$5&lt;BR /&gt; TRAILER_VALIDATE=$6&lt;BR /&gt; TOTAL_RECORDS=$7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  echo "Testing to Connect to the DataBase"&lt;BR /&gt;&lt;BR /&gt;  Test_db_connect&lt;BR /&gt;&lt;BR /&gt;  sqp $LOG_FILE P_INPUT_FILE_AUDIT "'$DATA_TYPE','$SNAPSHOT_DATE','$SOURCE_SYSTE&lt;BR /&gt;M_ID','$POSITION_DATA_FILE','$HEADER_VALIDATE','$TRAILER_VALIDATE',$TOTAL_RECORD&lt;BR /&gt;S"&lt;BR /&gt;&lt;BR /&gt;  if [ $? -eq 0 ]&lt;BR /&gt;        then&lt;BR /&gt;  echo "Procedure P_INPUT_FILE_AUDIT completed successfully" | tee -a $JOB_LOG_F&lt;BR /&gt;ILE&lt;BR /&gt;   else&lt;BR /&gt;    echo "Procedure P_INPUT_FILE_AUDIT failed to complete" | tee -a $JOB_LOG_FIL&lt;BR /&gt;E&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;= = = =  = = = = = =  = = = = = =  = = = = = =  = = = = = =  = = = = = =  = = &lt;BR /&gt;#! /bin/sh&lt;BR /&gt;# File common_function.sh&lt;BR /&gt;&lt;BR /&gt;### Function to Check Oracle Database Connectivity&lt;BR /&gt;#Takes no input Parameters&lt;BR /&gt;&lt;BR /&gt;Test_db_connect()&lt;BR /&gt;{&lt;BR /&gt;sqlplus -s &amp;lt;</description>
      <pubDate>Wed, 05 Jul 2006 04:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817489#M100218</guid>
      <dc:creator>Avinash Byalihal</dc:creator>
      <dc:date>2006-07-05T04:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Some error in Bourne shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817490#M100219</link>
      <description>Hi,&lt;BR /&gt;can I suggest you insert a debug statement into the sqp function, just before the sqlplus step to show exactly what is in $args.&lt;BR /&gt;If this is ok, replace the $proc ($args) call with the actual code of the procedure.&lt;BR /&gt;&lt;BR /&gt;Other people had similar problems, but never bother to report back:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1026139" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1026139&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817490#M100219</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-07-05T05:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Some error in Bourne shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817491#M100220</link>
      <description>And just to clarify, the #!/bin/sh line is actually running HP's POSIX shell, a superset of the Korn shell. Also, /bin is only found in older SysV Unix systems and BSD systems like Linux. On HP-UX (and Solaris and other modern SysV's) the directoru is really /usr/bin. /bin in HP-UX is not a directory at all but a temporary transition link.</description>
      <pubDate>Wed, 05 Jul 2006 06:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/some-error-in-bourne-shell-script/m-p/3817491#M100220</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-07-05T06:13:50Z</dc:date>
    </item>
  </channel>
</rss>

