CL - check if variable is blank in IF statement

By kimot, 24 December, 2022

To check if CL variable is blank, figurative constant *BLANK/*BLANKS (all blanks, valid only for character fields) can be used

IF COND(%TRIM(&USER_DATA) *EQ *BLANKS) THEN(do_something)