Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Accessing 12th Element from an Array of 10 Elements

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
sivaramakrushna

New User


Joined: 08 Dec 2004
Posts: 4
Location: hyderabad

PostPosted: Wed Dec 08, 2004 3:33 pm    Post subject: Accessing 12th Element from an Array of 10 Elements
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
References
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 200
Location: Keane India Ltd., Hyderabad

PostPosted: Wed Dec 08, 2004 5:16 pm    Post subject: SSRANGE compiler option did not set
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1