Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between index and subscript?

Answer Posted / jkb

Index represents the displacement value of the table entry
from the beginning of the table whereas subscript is the
occurrence number of the table entry.

To calculate the displacement of the table entry from its
beginning when subscript is used takes 16 additional
instructions from the system because of that the usage of
the index is more efficient.

An index can only be modified using PERFORM, SEARCH & SET.
Need to have index for a table in order to use SEARCH,
SEARCH ALL.

Is This Answer Correct ?    25 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which area will you utilize 88 level items in cobol?

1204


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324


What type of SDLC u followed? Why?

2046


what is amode(24), amode(31), rmode(24) and rmode(any)?

1191


What is report-item in COBOL?

1193


What is link edit in cobol?

1266


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1142


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1174


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1260


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3275


) how do u code after getting data?

2206


What is the utilization of copybook in cobol?

1267


Name some of the examples of COBOl 11?

3196


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1126


what is search and searchall?what is the diffrence between them?give an best example?

6918