Swetalina
New User
Joined: 11 Nov 2008 Posts: 30 Location: Bangalore
|
|
|
|
Hi,
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 (
MODEL_NAME
,'01'
,WORK_AMOUNT
);
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);
WORK_AMOUNT:1,289.16
S00269.LPSU$0: -1289.16
Please advise. I have tried the solution provided for this Mainframe Forum but that is not working. |
|