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 is the compute verb? How is it used?

1092


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?

2240


Difference between cobol and cobol-ii?

1201


What is the difference between comp and comp-3 usage?

1142


What is redefines clause in COBOL?

1257


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

1237


how to refer the data field?

2217


how can i see junk values in dclgen or in hostvariable of comp ?

2948


Explain how you can characterize tables in cobol?

1019


What is Pic 9v99 Indicates in COBOL?

1192


Have you used comp and comp-3 in your project? And how?

2436


) How do u handle errors in BMS macro?

1918


What are the rules of the move verb?

1213


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1251


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1183