You may also use a CALL statement to redirect execution to another WEBROUTINE. The CALL statement has similar semantics to the TRANSFER statement, except the called WEBROUTINE returns control back to the calling WEBROUTINE and execution continues from that point onwards.
The CALL statement has the following properties:
|
The following are some examples of CALL statement:
CALL WEBROUTINE(Browser)
CALL WEBROUTINE(#MYWAM.Browser)
CALL WEBROUTINE(*SERVICE EmployeeBrowse)
CALL WEBROUTINE(*EVALUATE #WEBRTN)