Purpose
Passes control to a predetermined subroutine.
Syntax
►►─── CALL subroutine-name ──── . ────────────────────────────────────────────►◄
Parameter
Specifies the 1- to 8-character name of the subroutine to which control is passed. The subroutine name is defined by the DEFINE command, described below.
Usage
When the CA ADS runtime system encounters a CALL command, processing control passes to the beginning of the named subroutine. Processing continues through the subroutine until CA ADS encounters a GOBACK command, or a control command
If no GOBACK or control command occurs before the end of the subroutine, the runtime system automatically returns control to the command that immediately follows the associated CALL command.
Considerations
|
Copyright © 2014 CA.
All rights reserved.
|
|