Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ONCODE=612 conversion error occurred

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Swetalina

New User


Joined: 11 Nov 2008
Posts: 30
Location: Bangalore

PostPosted: Thu Mar 26, 2009 11:11 am    Post subject: ONCODE=612 conversion error occurred
Reply with quote

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.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Thu Mar 26, 2009 12:59 pm    Post subject: Reply to: ONCODE=612
Reply with quote

check the manual to see the rules for automatic conversion
link at top of the page
or start from
http://www-03.ibm.com/systems/z/os/zos/bkserv/index.html#other_pubs
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us