IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ONCODE=612 conversion error occurred


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 26, 2009 12:59 pm
Reply with quote

check the manual to see the rules for automatic conversion
link at top of the page
or start from
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
Search our Forums:

Back to Top