MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is index?What are the advantages over subscript?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
SHANKS
Beginner


Joined: 04 Jul 2007
Posts: 2
Topics: 2

PostPosted: Sun Jul 08, 2007 9:28 am    Post subject: What is index?What are the advantages over subscript? Reply with quote

I had used subscripts in application programming.I had never used indexes.I wanted to know what are indexes and what are its advantages?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun Jul 08, 2007 9:49 am    Post subject: Reply with quote

Here is a link to the COBOL documentation which has a rather good write-up.
In addition, the page discusses other topics.

If this page does not answer all your questions, use the Search feature.
Though this is Enterprise COBOL documentation, what is said here applies to all IBM COBOL.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
jajularamesh
Beginner


Joined: 14 Apr 2006
Posts: 87
Topics: 33

PostPosted: Mon Jul 09, 2007 7:34 am    Post subject: Reply with quote

Hi Shanks,

Indexes are like register variables in C.Register variables uses Registers for storage which are accessble very fast.

So in other languages especially for looping Register/ Indexed variables are used.

Using index variables over subscript variables improves the performance.

Regards,
Ramesh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Jul 09, 2007 7:41 am    Post subject: Reply with quote

SHANKS,

Check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=3975&highlight=index

http://www.mvsforums.com/helpboards/viewtopic.php?t=1583&highlight=index

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group