7 94 TRANSFER

LANSA Technical

7.94 TRANSFER

The TRANSFER command is used to transfer control from one function to another function. Optionally information may be exchanged with the other function.  The TRANSFER command can also be used in WAM Components to transfer control to other WEBROUTINEs in the same WAM Component or another WAM Component.

Also See

7.94.1 TRANSFER Parameters

7.94.2 TRANSFER Comments / Warnings

7.94.3 TRANSFER Examples

                                                         Optional

 

  TRANSFER ----- TOFUNCTION -- *NEXT -------------------------->

                                *LAST

                                *EXIT

                                *MENU

                                *HELP

                                *EOJ

                                function name

 

           >---- EXCHANGE ----- field name ---------------------|

                           | expandable group expression |

                           |                             |

                            --------- 100 max -----------

           >---- TOROUTINE ---- webroutine name ---------------->

                                  *SERVICE service name

                                  *EVALUATE field name

 

          >---- ONENTRY ------ *MAP_NONE ---------------------->

                                  *MAP_ALL

                                  *MAP_LOCAL

                                  *MAP_SHARED