AS400 RPGLE: CLEAR - To clear variable, Record Format and Array
CLEAR is used to clear a variable by setting the value to its default value based on the variable type. Character filed to blanks Numeric field to 0 CLEAR will set the indicator to 0 (OFF) CLEAR will clear the whole record format to default values CLEAR can clear entire array or just the instance of an array if the instance/Index is specified