Coding the DFHEIRET macro for assembler language programs
The DFHEIRET macro performs epilog code to release the working storage of the application program.
- For AMODE(24) and AMODE(31) programs, the DFHEIRET macro calls the EPILOG program.
- For AMODE(64) programs, the DFHEIRET macro calls the AMODE(64) EPILOG program.
You can specify the following operand for the DFHEIRET macro:
- RCREG
- Specify the register into which the return code is placed. If you do not specify a value, a return code is not passed back to the caller of the program. There is no default value.
The translator inserts the DFHEIRET macro, with no parameters specified, immediately before the END statement (unless you specify the NOEPILOG translator option to prevent this). END must be in uppercase for the translator to recognize it. If the DFHEIRET macro is invoked before this translator-inserted DFHEIRET macro, the translator-inserted macro does not generate any code.
Related information
- For reference information about the DFHEIRET macro, see DFHEIRET macro.
- For more information about the DFHEIENT macro, see Coding the DFHEIENT macro for AMODE(24) and AMODE(31) assembler language programs, Coding the DFHEIENT macro for AMODE(64) assembler language programs and DFHEIENT macro.
- For more information about the DFHEISTG storage, see Extending dynamic storage for assembler language programs.
- For more information about the DFHECALL and DFHEIRET macros, see DFHECALL macro.
- For reference information for the EXEC interface, including design overview, control blocks, modules, exits, and trace, see EXEC interface.