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 subscript in cobol?give realtime example?

Answer Posted / avr

01 g1.
02 ele pic x(3) occurs 10 times.
01 i pic 99.
procedure division.
perform varying i from 1 by 1 until i > 10
accept ele(i)
display ele(i)
end-perform.
in this is case i is a subscript variable

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the problem of ordered sequential files access?

1176


What is report-item in COBOL?

1170


Explain how to differentiate call by context by comparing it to other calls?

1197


What is the utilization of copybook in cobol?

1207


Why occurs cannot be used in 01 level in COBOL?

1174


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1576


Can a Search can be done on a table with or without Index?

1298


Define static linking and dynamic linking.

1205


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

1228


Which is not true about evaluate statement

2471


What are literals?

1153


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2089


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1163


how do you reference the printer file formats from cobol programs

1234


Give some examples of command terminators?

1272