When called from a batch job or step or from a REXX or CLIST, the AJF statement is specified as one of the following:
EXEC CTMAPI PARM=‘AJF variable’
In this type of call, only a return code is returned in register R15. A full list of valid return codes is provided in AJF Action Return Codes.
If multiple commands are entered in a DAAPI DD statement, the final return code is the highest return code from any of the commands.
Parent Topic |