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.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If 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 | ||||||
99999 | EXIT |