── BEGIN ── <statement list> ── END ───────────────────────────────────┤
Explanation
A compound statement groups one or more statements as a logical entity. Refer to Job Structure for the syntax and explanation of a statement list.
Example
The following is an example job that uses the compound statement:
IF T IS COMPLETEDOK THEN
BEGIN
RUN X;
RUN Y;
END
ELSE
BEGIN
COPY T/INPUT AS T/INPUT/SAVE;
ABORT;
END;
