I am trying to convert variable values from zoned decimal format to character but in doing so, I need the code to convert them as per IBM standards, In old RPG codes most developers have used opcode MOVEL and MLLZO but what are the substitute command for partially free format RPG.
*For example, the result of below code will be var2 = 1234N
D var1 s 10s 2 inz(-123.45)
D var2 s 10
/Free
C MOVEL var1 var2
dsply var2;
*Inlr = *on;
/End-free