Sorry, dont know why that was there! Anyway, i now get this error:

DBD::Oracle::st fetchrow_array failed: ORA-20100: Error creating molfi +le string ORA-06512: at "C$MDLIMOL51.CDCAUXOP", line 606 ORA-06512: at "C$MDLIMOL51.CDCAUXOP", line 36 (DBD ERROR: OCIStmtFetch +) at reg_service.pl line 128.

Now, if i run my plsql procedure directly in TOAD, it runs fine. I do not have access to the procedures directly to edit them. A molfile is a CLOB that should be returned by the cursor (contains two columns - id, molfile). I am also assuming that the 6512 errors are to do with a cartridge that converts data into molfiles. If that is the case, they should resolve automatically once i manage to create the molfile. How do i associate a CLOB to a string in Perl?

UPDATE:: If you look at my original post, i have defined cursors as Pacdesignset.data_header_cur etc, however i now realise that i need to define :s_cur as a Pacdesignset.structure_cur to get the conversion to occur. How can i define it as something and bind it? END UPDATE

Thanks.

Joe


In reply to Re^2: DBI & Cursors by joec_
in thread DBI & Cursors by joec_

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.