Joined: 11 Nov 2008
I am getting the below error while running my job.
ONCODE=612 The CONVERSION condition was raised because a conversion error occurred when converting a character string to an arithmetic value.
According to offset value, this is the part of the code where I am getting it.
WORK_AMOUNT = LEFT_JUSTIFY(S00269.LPSU$0);
CALL Z000_ADD_TO_MFI (
TOTAL_DUE4 = WORK_AMOUNT;
I have put some display statement. Please find the value for those fields.
DCL WORK_AMOUNT CHAR (12);
DCL TOTAL_DUE4 FIXED DEC (9,2) INIT (0);
Please advise. I have tried the solution provided for this Mainframe Forum but that is not working.