|
I work on an IBM i V7R1M0 (SF240_382 MH01151)
It appears host variables in subprocedures are local,
but I see the following when attempting a compile with
the same cursor name declared in two subprocedures:
5770ST1 V7R1M0 100416 Create SQL ILE RPG Object IMPORTSKU9
10/21/11 09:42:38
924 C+ DECLARE ia_Csr2 CURSOR FOR s2 92300
10/18/11
489 EXEC SQL DELETE FROM IMP_ARTICOLI; 048900 10/14/11
DIAGNOSTIC MESSAGES
MSG ID SEV RECORD TEXT
SQL0051 30 924 Position 17 Cursor or procedure IA_CSR2 previously
declared.
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.