<?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: Perl + mysql in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-mysql/m-p/5039056#M753453</link>
    <description>Issue closed.. reason for error was that by mistake i forget to put-&amp;gt; in prepare. Anyway thanks</description>
    <pubDate>Tue, 10 Apr 2007 04:44:49 GMT</pubDate>
    <dc:creator>network_4</dc:creator>
    <dc:date>2007-04-10T04:44:49Z</dc:date>
    <item>
      <title>Perl + mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-mysql/m-p/5039055#M753452</link>
      <description>#!/usr/bin/perl&lt;BR /&gt;use DBI;&lt;BR /&gt;#use DBD::mysql;&lt;BR /&gt;$dsn = "DBI:mysql:hcl:localhost";&lt;BR /&gt;$dbh = DBI-&amp;gt;connect($dsn,'root','',{RaiseError=&amp;gt;1});&lt;BR /&gt;$sth = $dbh-&amp;gt;prepare("select CHCL_FILE_NAME from CAMS_HCL_COLLECTION_LOG where CHCL_FILE_STATUS='C' and CHCL_COLLECTION_STATUS='S' and (CHCL_FILE_NAME like '%.doc%' or CHCL_FILE_NAME like '%.xls%')");&lt;BR /&gt;$sth-&amp;gt;execute();&lt;BR /&gt;while (@data = $sth-&amp;gt;fetchrow_array()) {&lt;BR /&gt;foreach $data (@data) {&lt;BR /&gt;print "update CAMS_HCL_COLLECTION_LOG set CHCL_FILE_STATUS='D' where CHCL_FILE_NAME='$data' \n";&lt;BR /&gt;$sth1 = $dbh-prepare("update CAMS_HCL_COLLECTION_LOG set CHCL_FILE_STATUS='D' where CHCL_FILE_NAME='$data'");&lt;BR /&gt;$sth1-&amp;gt;execute();&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;$sth-&amp;gt;finish();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;while executing above  script i am getting this error:&lt;BR /&gt;&lt;BR /&gt;update CAMS_HCL_COLLECTION_LOG set CHCL_FILE_STATUS='D' where CHCL_FILE_NAME='GUJ_RAT_ggg_asdshh.xls'&lt;BR /&gt;Undefined subroutine &amp;amp;main::prepare called at db.pl line 11.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;please let me know where is the issue. I am using perl 5.8.7, OS-- Ubuntu</description>
      <pubDate>Tue, 10 Apr 2007 04:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-mysql/m-p/5039055#M753452</guid>
      <dc:creator>network_4</dc:creator>
      <dc:date>2007-04-10T04:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Perl + mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-mysql/m-p/5039056#M753453</link>
      <description>Issue closed.. reason for error was that by mistake i forget to put-&amp;gt; in prepare. Anyway thanks</description>
      <pubDate>Tue, 10 Apr 2007 04:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-mysql/m-p/5039056#M753453</guid>
      <dc:creator>network_4</dc:creator>
      <dc:date>2007-04-10T04:44:49Z</dc:date>
    </item>
  </channel>
</rss>

