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 u write test cases?

2012


Mention the guidelines to write a structured cobol program?

1028


What is an in line perform? When would you use it? Anything else you wish to say about it.

1020


What are the different rules to perform a Search?

1048


What is the difference between Global and External Variables?

1294


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2255


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

1174


What is a SSRANGE and NOSSRANGE?

1416


Discuss about changing dataset name in proc.

1173


How many sections are there in data division in COBOL?

1079


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

1467


how do you reference the variable unblock file formats from cobol programs

1279


What type of SDLC u followed? Why?

1957


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

1522


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

1288