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

Comments

Popular posts from this blog

AS400 : Add a new line in text in email SNDSMTPEMM

AS400 Display: Radio Button (SNGCHCFLD)

AS400 Display File: Check Box (MLTCHCFLD)