Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL APPC Support

Using APPC Subroutines

Scroll Prev Top Next More

ESL APPC subroutines operate the same way as other ESL subroutines. To invoke an ESL APPC subroutine from your ESL program, use the call statement. The call statement syntax is the same for internal ESL subroutines and ESL APPC subroutines:

call SUB_NAME( ARG1[, ARG2].... )
 

SUB_NAME is the identifier for a previously defined subroutine, and ARG1 [, ARG2].... are variables you have defined to contain the subroutine parameters. You must use variables as argument list parameters in an ESL APPC subroutine call; literals or constants cannot be used. Also, the type and number of arguments after the subroutine name must match the type and number of arguments in the declaration.