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 do you define a table/array in COBOL?

Answer Posted / mojib khan

To define a table using occurs clause..
working -storage section.
01 table.
*for one dimensional array
02 table-name pic size() occurs n times.
03 field1-name pic size.
03 field2-name pic size.
.......
........
........
03 fieldn-name pic size.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) how do u code after getting data?

2142


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2456


What is the difference between PIC 9.99 and 9v99 in COBOL?

1323


Whats the difference between search & search ALL?

6499


how do you define single dimensional array and multidimensional array in your cobol?

1081


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2463


In COBOL, what is the different between index and subscript?

1236


example for sub strings ? and refernce modifications whit output pls

2304


What is perform what is varying?

1151


How to print 10 to 1 if the input have only 10 digit number?

1252


Name some of the examples of COBOl 11?

3135


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3222


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

1319


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2579


How arrays can be defined in COBOL?

1202