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

Accessing 12th Element from an Array of 10 Elements


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivaramakrushna

New User


Joined: 08 Dec 2004
Posts: 4
Location: hyderabad

PostPosted: Wed Dec 08, 2004 3:33 pm
Reply with quote

in arrays i declared array of length 10. but i have given 12 elements my program accepted that elements. how is it possible
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Wed Dec 08, 2004 5:16 pm
Reply with quote

This is possible young man. Because there is a compiler option called SSRANGE and NOSSRANGE using this you can specify weather to check SubScriptRange or not while accepting the values. I think it may accept but we have no garantee of retrieval of those values. Ok.
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 Difference when accessing dataset in ... JCL & VSAM 7
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
No new posts Accessing ABENDCC in JCL JCL & VSAM 6
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts How to move values from single dimens... COBOL Programming 1
Search our Forums:

Back to Top