Results 1 to 4 of 4

Thread: Calling stored procedure from Pro C

  1. #1
    mahesh_575
    Guest

    Question Calling stored procedure from Pro C

    EXEC SQL EXECUTE
    BEGIN Y001.b0002(ortal_id, :cust_sup_id, :bill_num, :check_flag, :last_upd_date, :unyou_date, :goui_riyuu, :last_upd_person, :touroku_date, :err_code, :err_log);
    END;
    END-EXEC;

    Here b0002 is stored procedure in package Y001.
    I am getting Semantic Error to Begin statement.
    Can anyone help me please.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    what language is that?????
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    mahesh_575
    Guest
    CornedBee

    I have mentioned it in subject. Calling stored procedures from Pro C.

    Can you tell me that how to call a stored procedure from C program. I know that the following block is used but it is giving error that procedure name is not defined.

    EXEC SQL EXECUTE
    BEGIN
    proc-name(param1, param2, ------- );
    END;
    END-EXEC;

  4. #4
    jim mcnamara
    Guest
    IT's embedded pl/sql in embedded sql in Pro-C.

    The reason is because you can't access the function.

    I looked in Oracle 7.3 documentation - which you have to have if you have Pro-C. ALL of this stuff is in there.

    Spend some time with the doc set. I do not use pl/sql except on alternate Thursdays in months that end with 'Q'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width