7.123 TRANSFER

Note: Usage options

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.123.1 TRANSFER Parameters

7.123.2 TRANSFER Comments / Warnings

7.123.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