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
 

 

ON SIZE ERROR occured in MOVE statement.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Tue Oct 17, 2006 8:31 pm    Post subject: ON SIZE ERROR occured in MOVE statement.
Reply with quote

Hi All,

All heard about 'ON SIZE ERROR' is used for Compute statement.

Question:

Input File structute --> A PIC 9(15)V99.
Output File structure --> B PIC 9(9)V99.

Move A to B.
ON SIZE ERROR DISPLAY "OVER FLOW OCCURS" .

Here did we use "ON SIZE ERROR" TO HANDLED FOR OVERFLOW or any other method is avalible to indicate over flow occurs.

Please help me.
Back to top
View user's profile Send private message

chiranjeevi_mca

New User


Joined: 19 Feb 2006
Posts: 27

PostPosted: Wed Oct 18, 2006 9:51 am    Post subject: Re: ON SIZE ERROR occured in MOVE statement.
Reply with quote

Hi,

ON SIZE ERROR is not only for COMPUTE statements, when even OVER FLOW may occur we can use. i think this is the only statement to handle.

let me know if i am wrong.

Regards,
Chiranjeevi
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


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