On Jan 7, 2023, at 4:10 PM, Javier Sanchez <javiersanchezbarquero@xxxxxxxxx> wrote:
Maybe use the "C" exit(-1) function.
This simply gets you totally out of the program, no matter where you call
it. The -1 is only one example, you could also use exit(0) as well.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.