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 / srinu

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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is comp-1 and comp-2?

1232


HOw can I get the negative sign while deduct high value from low value

2259


What is a SSRANGE and NOSSRANGE?

1474


What type of SDLC u followed? Why?

1999


What are the access modes of START statement?

1273


How to print 10 to 1 if the input have only 10 digit number?

1264


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1540


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

1164


What are various search techniques in cobol? Explain.

1073


What is rmode(24)

1150


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1144


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2227


What are 77 levels used for?

1108


) how do u code after getting data?

2155


Write down the divisions of cobol program?

1258