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...

how array can be declare in cobol?

Answer Posted / sivakumar s

Array can be declared in cobol using the OCCURS clause.

Syntax is,

For one dimensional array,

01 Arrays.
05 Var1 PIC X(10) Occurs 10 times.


For two dimensional array,

01 Arrays.
03 AAA Occurs 10 times
05 BBB Occurs 10 times
07 Value PIC 9(3).

Is This Answer Correct ?    77 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define perform?

989


What is sort? And its syntax?

1028


What is input procedure?

988


seqence numbers in cobol

3112


Explain what all the conditiones required for using open opcode on a file?

954


Explain the input procedure and output procedure?

900


What is the syntax of sort?

895


What are the types of perform?

1015


How to detect record is locked in cobol/400? What is the solution for that?

958


Define perform? And its types?

975


What is sort?

940


Explain the difference between comp & comp-3?

948


Define sort?

1157


What are fillers? What is the actual use of fillers? With mall/simple example?

991


why icetool be used in programmer view?

2556