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 do get the result of your program directly on your pc?

2395


) How do u handle errors in BMS macro?

2017


what is the use of outrecord?

2272


How arrays can be defined in COBOL?

1298


What is a SSRANGE and NOSSRANGE?

1531


how to access the file from prodution from changeman tool and to submit a file to production

7628


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1299


What is a scope terminator give example?

1156


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

1147


What is link edit in cobol?

1269


How do you reference the following file formats from cobol programs?

1205


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1394


How many bytes S(8) comp field occupy and its maximum value?

2191


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

1441


Why did you choose to work with ibm mainframe cobol programming?

1159