Use %%GOTO either subordinated to a conditional control statement such as %%IF or %%ELSE, or as an imperative statement. If used within a conditional control statement, %%GOTO implicitly terminates the conditional control statement.
The label names specified with %%GOTO or %%LABEL are constant, so they are resolved as a variable. The search for a %%LABEL associated to a %%GOTO is done in ascending order from the %%GOTO position.