Exit Processing
After a successful call to any GSCP in which no error was flagged, and before any requested XML output processing, control passes to a 4GL procedure named iiappsvrExit. This can be overridden by a user procedure of the same name in which custom exit processing, logging, and so on, can be performed.