When I use embedded SQL in a RPG program and call it from another program
it works fine. But, when I try to use the program as a stored procedure
it gives me a SQL error. I have worked with stored procedures and understand
them, but have not been successful using embedded SQL with them.
Any ideas anyone?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!