anything better than this?
g_char = %subst(%editc(p_packed:'X'):1:xx) + '.' +
%subst(%editc(p_packed:'X'):xx:xx);
g_char = %subst(%editc(p_packed:'X'):1:xx) + '.' +
%subst(%editc(p_packed:'X'):xx:xx);
DCL-C ConstDecPos Const(%DecPos(VarX)); DCL-C ConstDecLen Const(%Len(VarX)); MyResult = %Dec(MyValue: ConstDecLen: ConstDecPos);
DCL-C ConstDecPos Const(%DecPos(VarX)); DCL-C ConstDecLen Const(%Len(VarX)); MyResult = %Dec(MyValue: ConstDecLen: ConstDecPos);
MyResult = %Dec(MyValue: 63 : 31);
MyResult = %Dec(MyValue: 63 : 31);
Comment