|
Anybody correct me if I am wrong, but I don't believe you can call a stored procedure from within an RPG program using embedded SQL. I tried this about a year ago without success. Note that I am talking about calling something created with the "CREATE PROCEDURE" SQL command. >I would like to create my procedure with SQL/400 scripts and I would like to see the output in a PF. Could you explain what you mean by you would like to see the output in a PF? Are you talking about the output from executing the SQL script? And by output do you mean the resultant message like "query executed successfully" or do you mean place the result set in the PF? Aaron Bartell -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of paramasivam.murugesan@xxxxxxxxx Sent: Friday, February 24, 2006 4:17 AM To: rpg400-l@xxxxxxxxxxxx Subject: Would like to know SQL/400 forum. I would want to create a SQL procedure, so that I can verify the output of a very complex business logic in one of RPGLE programs. I would like to create my procedure with SQL/400 scripts and I would like to see the output in a PF. Appreciate your help. Thanks, Murugesh The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.