IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Accessing 12th Element from an Array of 10 Elements

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe COBOL
View previous topic :: View next topic  
Author Message
sivaramakrushna



Joined: 08 Dec 2004
Posts: 4
Location: hyderabad

Posted: Wed Dec 08, 2004 3:33 pm    Post subject: Accessing 12th Element from an Array of 10 Elements  

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  
ovreddy



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

Posted: Wed Dec 08, 2004 5:16 pm    Post subject: SSRANGE compiler option did not set  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe COBOL
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM