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

How do get the result of your program directly on your pc?

2345


How are the next sentence and continue different from each other?

1297


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)?

1117


How you can characterize tables in cobol?

1203


What is link edit in cobol?

1196


What is the difference between Global and External Variables?

1377


Difference between cobol and cobol-ii?

1279


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1254


What are the pertinent COBOL commands?

3177


how do you reference the variable unblock file formats from cobol programs

1328


A table has two indexes defined. Which one will be used by the SEARCH?

1285


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1435


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2591


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1234


What are different data types in cobol?

1322