8 16 MTHROUTINE

LANSA Technical

8.16 MTHROUTINE

The MTHROUTINE command is used to define a user-defined method. A method instructs the component to do something.

The method routine can optionally receive input parameters. For more information refer to the description of 8.6 DEFINE_MAP.

The MTHROUTINE must have a matching ENDROUTINE command. A method is executed using the INVOKE command.

Also See

8.16.1 MTHROUTINE Parameters

8.16.2 MTHROUTINE Examples

8.10 ENDROUTINE

8.6 DEFINE_MAP

 

                                                           Required       

                                                                          

    MTHROUTINE ---- NAME -------Routine Name ---------------------->      

                                                                          

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

                                                                          

                                                      Optional            

                                                                          

               >-- DESC ------- Description ------------------------->    

                                                                          

               >-- OPTIONS ---- *REDEFINE/*FINAL/*ABSTRACT----------->    

                                                                          

               >-- ACCESS  ---- *PUBLIC/*PROTECT/*PRIVATE/*DEFAULT--->    

                                                                          

               >-- HELP ------- Help text----------------------------|