The User Exit program name for the SUBMIT command is stored in positions 621-630 of Data Area [email protected].
These bytes are tested the first time a LANSA function is submitted. If non-blank, they are assumed to identify a user exit program that should be invoked each time a function is submitted. Such a program must receive one parameter containing the SBMJOB command about to be used. The user exit program can modify the SBMJOB command before exiting and passing back the parameter.(e.g. Add MSGQ() parameter to SBMJOB).