<?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: script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372735#M195885</link>
    <description># Get DB info&lt;BR /&gt;&lt;BR /&gt;get_db_info()&lt;BR /&gt;{&lt;BR /&gt;#$ORACLE_HOME/bin/svrmgrl &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;$ORACLE_HOME/bin/sqlplus /nolog &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;#connect internal&lt;BR /&gt;connect / as sysdba</description>
    <pubDate>Mon, 06 Sep 2004 04:16:18 GMT</pubDate>
    <dc:creator>jackfiled</dc:creator>
    <dc:date>2004-09-06T04:16:18Z</dc:date>
    <item>
      <title>script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372733#M195883</link>
      <description>Hi all&lt;BR /&gt;that's the problem here.&lt;BR /&gt;script executed one of commands, so&lt;BR /&gt;I want it to execute full command.&lt;BR /&gt;ex) sqlplus /nolog&lt;BR /&gt;system has executed sqlplus only exclude /nolog.&lt;BR /&gt;it must execute not only sqlplus but also /nolog concurrently&lt;BR /&gt;&lt;BR /&gt;truly tips are good to me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 03:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372733#M195883</guid>
      <dc:creator>jackfiled</dc:creator>
      <dc:date>2004-09-06T03:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372734#M195884</link>
      <description>Can you post your script ? It will surely help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 04:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372734#M195884</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-09-06T04:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372735#M195885</link>
      <description># Get DB info&lt;BR /&gt;&lt;BR /&gt;get_db_info()&lt;BR /&gt;{&lt;BR /&gt;#$ORACLE_HOME/bin/svrmgrl &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;$ORACLE_HOME/bin/sqlplus /nolog &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;#connect internal&lt;BR /&gt;connect / as sysdba</description>
      <pubDate>Mon, 06 Sep 2004 04:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372735#M195885</guid>
      <dc:creator>jackfiled</dc:creator>
      <dc:date>2004-09-06T04:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372736#M195886</link>
      <description>sqlplus  /nolog &amp;lt;&amp;lt; EOF &amp;gt;a.log&lt;BR /&gt;connect sys / as sysdba&lt;BR /&gt;select name from v\$database;&lt;BR /&gt;EOF&lt;BR /&gt;exit&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 04:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372736#M195886</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T04:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372737#M195887</link>
      <description>Sounds good to me if sqlplus input ends with :&lt;BR /&gt;exit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 04:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372737#M195887</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-09-06T04:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372738#M195888</link>
      <description>You have to complete the started read-up command line as,&lt;BR /&gt;#$ORACLE_HOME/bin/svrmgrl &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;$ORACLE_HOME/bin/sqlplus /nolog &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;#connect internal&lt;BR /&gt;connect / as sysdba&lt;BR /&gt;&lt;COMMANDS&gt;&lt;/COMMANDS&gt;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Or you can use as,&lt;BR /&gt;#$ORACLE_HOME/bin/svrmgrl &amp;lt;&amp;lt; EOF &amp;gt; $DB_INFO&lt;BR /&gt;$ORACLE_HOME/bin/sqlplus /nolog &amp;lt;&amp;lt;-EOF &amp;gt; $DB_INFO&lt;BR /&gt;#connect internal&lt;BR /&gt;connect / as sysdba&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;where -EOF to stripe the tabs.&lt;BR /&gt;&lt;BR /&gt;And more there some restriction on using as,&lt;BR /&gt; \new-line is&lt;BR /&gt;     ignored, and \ must be used to quote the&lt;BR /&gt;     characters \, $, `, and the first character of&lt;BR /&gt;     word.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;see ksh man page for Input/Output part</description>
      <pubDate>Mon, 06 Sep 2004 05:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/3372738#M195888</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-06T05:42:53Z</dc:date>
    </item>
  </channel>
</rss>

