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

ON SIZE ERROR occured in MOVE statement.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


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 Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top