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 / anil prajapati

Table/array can be defined in cobol by using occurs with
times clause

like
working-=storage section.
01 tab1 value 'anilkumarprajapati'.
03 tab2 pic x(3) occurs 6 times indexed by i.
procedure division.

display tab2(i).
stop run.

output will be dsiplayed like

ani
lku
....

Is This Answer Correct ?    23 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2185


) how do u code after getting data?

2206


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1391


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

2530


What rules are to be followed while using the corresponding options?

1122


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9176


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

1278


How you can characterize tables in cobol?

1251


explain sorting techniques in cobol program?

1241


) How do u handle errors in BMS macro?

2013


How to remove 2 duplicate records and copy only one using job control language?

1257


what is search and searchall?what is the diffrence between them?give an best example?

6919


how to convert the recors form vsam file to db2 table tru file aid

3311


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1262


Are you comfortable in cobol or jcl?

1088