|
On 02-Jun-2015 11:32 -0600, Hoteltravelfundotcom wrote:
I want to use a stored procure which have a lot of feature
like temp table loop variables, Can I do this in IBM i?
Yes.
[http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/db2/rbafzcreatep.htm]
_CREATE PROCEDURE_
[http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_71/db2/rbafzsqlcontstmts.htm]
_SQL control statements_
"Control statements are SQL statements that allow SQL to be used in a manner similar to writing a program in a structured programming language. SQL control statements provide the capability to control the logic flow, declare and set variables, and handle warnings and exceptions. Some SQL control statements include other nested SQL statements.
..."
[http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_71/db2/rbafzcompoundstmt.htm]
_compound-statement_
I have not seen any examples how to create stored procedure on IBM i.
that can be called from a crystal report.
I have seen many examples and I and others have offered a number of examples on these fora; search the archives. Also, I have not seen any examples of a DB2 for IBM i SQL Stored Procedure that can not be called from Crystal Reports.
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.