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 / rajesh

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 ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is perform?

1057


What is the syntax of sort?

865


What are the types of perform?

963


What is comp?

1102


Explain the output procedure?

976


Explain how to update data area in cobol 400 program?

970


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

904


Define redefine?

1059


What are fillers?

987


Explain the input procedure and output procedure?

867


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

1102


What is output procedure?

953


Define redefine and its syntax?

923


Explain the difference between section, paragraph and sentences?

919


What is redefine?

1135