![Previous Topic: EFPL Format](574.png)
![Next Topic: Pass Arguments](573.png)
Using OPS/REXX › The Interaction of OPS/REXX with Other Languages › Outcome of Processing a REXX Routine
Outcome of Processing a REXX Routine
When the REXX routine has completed processing, it should do the following:
- 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.
- Restore all registers to the state they were in upon entry to the routine.
- Set a return code in register 15.
- Return control to the address passed in register 14 on entry.
Copyright © 2014 CA.
All rights reserved.
![Previous Topic: EFPL Format](574.png) ![Next Topic: Pass Arguments](573.png)
|
|