CHAR - Convert to a Character #

Convert Operand 2 into a character and store result in Operand 1.

Statement
Create a character string out of the employee’s Hire Date. Add that to a message being sent to the Exception Report.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET V v_date EQ DB EEM.HIRE_DATE 20
00020 LET V v_char CHAR V v_date 30
00030 LET V v_msg EQ A The hire date is 40
00040 LET V v_msg ADD V v_msg V v_char 50
00050 MSG V v_msg 99999
99999EXIT

Notes #

Click to create a new notes page