Previous Topic: Set StatementsNext Topic: The EOF (EOJ) Statement


Clear Statements

A CLEAR statement clears the information designated by a related SET statement. When you are working with a series of element actions and need to remove information established in a SET statement, code a parallel CLEAR statement. The CLEAR statement remains in effect until you enter another related SET statement or until processing ends.

CLEAR statements only apply to SET statements. Similar information entered in an element action statement is not affected by a CLEAR statement.

You can use the following CLEAR statements: