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 a subscript ?

Answer Posted / b.rajesh

Number of occurrences of an element is known as subscript.
For storing of data we use the concept of SUBSCRIPT.

EX:-

WORKING-STORAGE SECTION.
01 section
02 marks pic 9(2) occurs 3 times.
77 I pic p(1).

PROCEDURE DIVISION.
move 1 to I.
perform until I > 3
accept marks(I)
add 1 to I
end-perform.

Here we declare the marks(I) : I is called as subscript.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the divisions, which are available in a cobol program?

1169


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2395


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


What is the LINKAGE SECTION used in COBOL?

1469


State the various causes of s0c1, s0c5 and s0c7.

1026


Which mode is used to operate the sequential file?

1150


What is rmode(any) ?

1183


What are the various section in data division and briefly explain them.

1110


What is the utilization of copybook in cobol?

1115


What is a SSRANGE and NOSSRANGE?

1416


How do get the result of your program directly on your pc?

2295


How to remove 2 duplicate records and copy only one using job control language?

1169


What are the different open modes available in cobol?

1143


A table has two indexes defined. Which one will be used by the SEARCH?

1230


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1317