4.7.10
EXIT
4-30
For the REPLACING options, the replacement rules are:
• When the ALL option is used, literal-2 or literal-4 is substituted
for each occurrence of literal-lor literal-3.
• When the LEADING option is used, the substitution of literal-2 or
literal-4 terminates as soon as a character other than literal-lor
literal-3 or the righthand boundary of the data item is encountered.
• When the UNTIL FIRST option is used, the substitution of literal-2
or literal-4 terminates as soon as literal-lor literal-3 or the
righthand boundary of the data item is encountered.
• When the FIRST option is used, the first occurrence of literal-lor
literal-3 is replaced by literal-2 or literal-4.
The EXIT statement provides a common end point for a series of procedures.
EXIT.
The word EXIT appears in a sentence by itself. It must be preceded by a
paragraph name and be the only sentence in the paragraph.
It
is sometimes necessary to transfer control to the end point of a series of
procedures. Normally control is transferred to the next paragraph or section,
but
in
some cases this does not have the required effect. For instance, the
point to which control is to be transferred may be at the end of a range of
procedures governed by a PERFORM or at the end of a declarative section.
The EXIT statement is provided to enable a procedure name to be associated
with such a point.
If
control reaches an EXIT paragraph and no associated PERFORM or USE
statement is active, control passes through the EXIT point to the first
sentence of the next paragraph.
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?