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

Which Search verb is equivalent to PERFORM…VARYING?

1023


What are the access modes of START statement?

1252


What are declaratives and what are their uses in cobol?

1184


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1412


What is a scope terminator give example?

1089


How can you get the ksds file records into your cobol program?

1084


What rules are followed by the search verb.

1090


What is link edit in cobol?

1175


What is the local-storage section?

1130


Discuss about changing dataset name in proc.

1214


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

1190


Describe the cobol database components?

1159


What is the difference between structured cobol programming and object alternativelyiented cobol?

1231


What is the difference between comp and comp-3?

1170


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

1145