I am trying to execute a conditional statement based on whether or not an
identifier variable (numeric var type) contains the numbers 9999 using the
CONTAINS operator. I intended to convert the num var PNUM to a char var for
purposes of using the CONTAINS operator. Any ideas why this does not work?
Can anyone suggest a solution?
IF PUT(PNUM,*6.*) CONTAINS '9999' THEN CALL MISSING(PRES);