Previous Topic: Subroutine Control CommandsNext Topic: CALL


Overview

CA ADS subroutine control commands are used to define and call subroutines within a process.

The subroutine control commands are listed in the following table. Each command is discussed later in this section.

Subroutine Control Commands

Command

Description

CALL

Passes control to a predefined subroutine

DEFINE

Establishes an entry point for a subroutine and defines subroutine processing

GOBACK

Terminates subroutine processing and returns control to the command following the associated CALL command