Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10211
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us