7 45 EXECUTE

LANSA Technical

7.45 EXECUTE

The EXECUTE command is used to execute a subroutine defined within a function and optionally pass parameters to it.

When the subroutine has completed execution control is passed to the command following the EXECUTE command.

Also See

7.45.1 EXECUTE Parameters

7.45.2 EXECUTE Examples

7.38 ENDROUTINE

7.92 SUBROUTINE

EVTROUTINE

MTHROUTINE

PTYROUTINE

                                                         Required

 

  EXECUTE ------ SUBROUTINE --- subroutine name ---------------->

 

 -----------------------------------------------------------------

                                                         Optional

 

             >-- WITH_PARMS --- list of parameters -------------|

                              | expandable group expression |

                               ---------- 50 max -----------