DFHEIRET macro

Releases the working storage of the application program.

Syntax

Read syntax diagramSkip visual syntax diagramDFHEIRETRCREG= register

Description

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). If the DFHEIRET macro is invoked before this translator-inserted DFHEIRET macro, the translator-inserted macro does not generate any code.

The DFHEIRET macro performs epilog code to release the working storage of the application program:
  • It restores registers.
  • It returns control to the address in register 14.

Operands

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.