|
I’ve created the procedure using the RUNSQLSTM command and compiled
the program against it. I’ve successfully added a record by calling
the RPG program, so I know that works. So I tried to run the RPG
program again, knowing it would fail because the record already
existed and unique keys are specified. This is in fact what
happened, but I don’t seem to be getting any value in my
“in_message” field coming out of the procedure to denote the
failure. Is there some basic part of this scenario of creating a
procedure in this way that I’m forgetting to do? Any help is as
always appreciated. Thanks in advance!
This mailing list archive is Copyright 1997-2026 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.