I solved those issues before by sending a scope message, but ON-EXIT is much
easier and IMHO more flexible :)
... unfortunately I cannot use it because I have to downcompile everything
to release 7.1 (at least! Just a few weeks ago someone complaint that we do
not support V5R4!!!)
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von Barbara
Morris
Gesendet: Thursday, 03.11 2016 18:27
An: rpg400-l@xxxxxxxxxxxx
Betreff: 7.2 and 7.3 enhancement for RPG to add a section of code to run
every time a procedure ends
See this page in the RPG Cafe about the new ON-EXIT opcode that starts the
ON-EXIT section containing code to be run every time the procedure ends,
either normally or abnormally.
http://ibm.biz/RPG_ON_EXIT_Section
--
Barbara
--
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.