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

What is a report item?

1193


What do you understand by psb and acb?

1175


How do u write test cases?

2109


Can you please let me know the centre name of INS certification in Kolkata.

2284


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324


Explain how you can characterize tables in cobol?

1110


Which is not true about evaluate statement

2511


What are the different types of condition in cobol and write their forms.

1150


Write the code to count the sum of n natural numbers.

1253


i want a program using by if, evaluate , string, unstring, perform, occurs?

4797


how to refer the data field?

2318


How do you differentiate between cobol and cobol-ii?

1276


State the various causes of s0c1, s0c5 and s0c7.

1140


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

1304


Write a cobol program making use of the redefine clause.

1226