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

how to refer the data field?

2250


Have you used comp and comp-3 in your project? And how?

2460


Mention the guidelines to write a structured cobol program?

1072


What is comp-1 and comp-2?

1216


Whats the difference between search & search ALL?

6492


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

1075


What are literals?

1113


How are the next sentence and continue different from each other?

1278


What is the LINKAGE SECTION used in COBOL?

1515


In which area will you utilize 88 level items in cobol?

1148


State the various causes of s0c1, s0c5 and s0c7.

1061


What are the pertinent COBOL commands?

3151


How you can characterize tables in cobol?

1177


how do you reference the esds vsam file formats from cobol programs

1192


What are the rules of the move verb?

1240