+ Reply to Thread
Results 1 to 5 of 5

Thread: OVERLOADED SQL STORED PROCEDURE PROBLEM

  1. #1
    K.Forsythe Guest

    Default OVERLOADED SQL STORED PROCEDURE PROBLEM

    Can you show us the create statement? I expect the system to take the object name from there.

  2. #2
    K.Forsythe Guest

    Default OVERLOADED SQL STORED PROCEDURE PROBLEM

    When you create an SQL procedure, the system implements that by creating a C program with embedded SQL. Its all (nearly) invisible behind the scenes. I don't think you need to worry about the C module that is created - just keep track of the SQL procedure. iSeries navigator is great tool for seeing the various SQL objects in a library.

  3. #3
    Guest.Visitor Guest

    Default OVERLOADED SQL STORED PROCEDURE PROBLEM

    I understand that, however, my CLE program is being created with a name the AS400 gives it instead of the name of my source member. I would like to find the root cause of this in case other developers in our shop make the same mistake I did.

  4. #4
    Guest.Visitor Guest

    Default OVERLOADED SQL STORED PROCEDURE PROBLEM

    I think I accidently overloaded an sql stored procedure by compiling a 2nd version of it with an additional parm before dropping the first version. Somehow by fumbling around with the drop procedure commands I was able to get rid of everything (I checked the tables in QSYS2 to be sure). However, now when I use RUNSQLSTM to create the procedure it creates a CLE object with a name the AS400 gives it instead of the name of my source member. How can I fix this ?

  5. #5
    K.Forsythe Guest

    Default OVERLOADED SQL STORED PROCEDURE PROBLEM

    What is the problem being caused by the CLE program having a name different than what you expect? Is the call to the SQL stored procedure failing? Kevin

+ Reply to Thread

Similar Threads

  1. Problem with Stored Procedure
    By K.Forsythe in forum SQL
    Replies: 11
    Last Post: 01-10-2007, 10:24 AM
  2. PROBLEM WITH SLOW SQL STORED PROCEDURE
    By Guest.Visitor in forum SQL
    Replies: 1
    Last Post: 12-09-2004, 05:34 AM
  3. Help please! Java stored procedure problem
    By prospec@iol.ie in forum SQL
    Replies: 0
    Last Post: 02-08-2002, 06:33 AM
  4. CREATE STORED PROCEDURE PROBLEM
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 01-04-2001, 07:59 AM
  5. Problem with character field in stored procedure
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 09-29-2000, 09:47 PM

Posting Permissions

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