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

what are decleratives in cobol?

2208


What is the difference between PIC 9.99 and 9v99 in COBOL?

1244


) what is the difference between AID and HANDLE AID?

2099


Which Search verb is equivalent to PERFORM…VARYING?

999


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?

2221


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2077


What is the utilization of copybook in cobol?

1114


What kind of error is trapped by on size error option?

1176


What is the difference between goback, stop run and exit program in cobol?

1521


What is the use of intialize verb?

1179


What are the different rules to perform a Search?

1048


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

1230


how to refer the data field?

2208


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1316


What rules are to be followed while using the corresponding options?

1016