Home » Developer & Programmer » Precompilers, OCI & OCCI » Executing Oracle proc via Cobol (batch)
Executing Oracle proc via Cobol (batch) [message #94443] Fri, 05 November 2004 04:55
Todd Gieryic
Messages: 2
Registered: November 2004
Junior Member
I am trying to exeucte an Oracle procedure from a Cobol program. I have several EXEC SQL statements ahead of this one but the compiler gives me the following message.  The proc is fully quailified with owner/package/proc name and does work when I run it via sql/developer.                                                   

Any ideas ?

    EXEC SQL                                              

      execute cdr_dev.parse_xml_logic.test                   

AN "EXEC SQL" STATEMENT WAS FOUND, BUT THE "SQL" COMPILER OPTION WAS NOT
IN EFFECT.  THE STATEMENT WAS DISCARDED.                               
                                                                       
    END-EXEC.                                                 
Previous Topic: need to write a make file for 9i
Next Topic: Sub-queries and host variables in Pro*Cobol
Goto Forum:
  


Current Time: Fri Mar 29 02:56:07 CDT 2024