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
 
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 how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm

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