|
On Apr 11, 2023, at 7:59 AM, Jay Vaughn <jeffersonvaughn@xxxxxxxxx> wrote:
Tried the changes...
still the pointer error when the SQLCBLLE is a *module in a *srvpgm, and
called from an SQLRPGLE.
Jay
On Mon, Apr 10, 2023 at 8:15 PM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
Awesome.--
Thanks.
I’ll try these changes out.
Jay
On Apr 10, 2023, at 7:11 PM, Richard Schoen <richard@xxxxxxxxxxxxxxxxx>wrote:
statement of the sqlcblle.
Looks like you also don't need the comma in this statement:
PROCEDURE DIVISION USING INCOMING-VALUE1, OUTGOING-VALUE1.
I changed it to:
PROCEDURE DIVISION USING INCOMING-VALUE1,
OUTGOING-VALUE1.
Didn't know that would solve it but it seemed to.
Also looks like this becomes your subproc ID for service program:
PROGRAM-ID. CBL00000M_PGM1.
Proc is: CBL00000M_PGM1
Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
-----Original Message-----
Thanks Richard,
So my parameters error (pointer) error was occurring on the exec sql
Funny thing, if you were in debug, and viewed the :outgoing-value1 justbefore the exec sql statement it was initialized and referenceable. But as
soon as you stepped on the exec sql you would get the pointer error.
alone *pgm.
Also my sqlclble was a *module accessed from a srvpgm, not just a stand
--(COBOL400-L) mailing list
This is the COBOL Programming on the IBM i (AS/400 and iSeries)
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-l.
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-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.