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: 10457
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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm
No new posts Conversion of UTF-8 to EBCDIC muralikrishnan_new COBOL Programming 1 Tue Nov 21, 2017 5:33 pm

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