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 a subscript and an index in
a table definition?

Answer Posted / mftech

Subscript is the occurance number in the arrary of element.
Fr e.g., an array has only one itme that repeats for 20
times, in order to refer to 10th itme in this array, you
can say ITEM(20). This '20' can be replaced by a WS
variable having value = 20.

Index: It is the displacement from the begining. if you
remember, when we use Index in a loop, then we do not code
Move 2 to WS-INDEX. We have to code. We need to set the
index to zero and then increament.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

3003


Write a program to explain size error.

1204


What are the different data types in cobol?

1449


In COBOL programming, what is PERFORM? What is VARYING?

1152


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1123


What is the difference between comp and comp-3?

1188


) what is the difference between AID and HANDLE AID?

2159


What is comp-1 and comp-2?

1232


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2476


Name the sections present in data division.

1251


Explain about different table spaces.

1110


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2396


) How do u handle errors in BMS macro?

1975


Write a program to enter and display the names of students in a class using the occurs clause.

1212


how to move the records from file to array table. give with code example

2679