Previous Topic: EFPL FormatNext Topic: Pass Arguments


Outcome of Processing a REXX Routine

When the REXX routine has completed processing, it should do the following:

  1. Store a function result in the EVALBLOCK pointed to by the EFPL. This is required for a function call and optional for routines called through the REXX CALL instruction.
  2. Restore all registers to the state they were in upon entry to the routine.
  3. Set a return code in register 15.
  4. Return control to the address passed in register 14 on entry.