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

01 ARRAYNAME
05 ARRAY-RECDFORMAT OCCURS 20 TIMES
10 ARRAYNAME-FIELDNAME1 PIC X(20)
10 ARRAYNAME-FIELDNAME2 PIC X(30)

AND WE CAN ACCESS THIS ARRAY BY USING SUBSCRIPT...
LIKE DISPLAY ARRAY-NAME(I)
AND ALSO INDIVIDUAL FIELD: DISPLAY ARRAYNAME-FIELD1(I)

Is This Answer Correct ?    32 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between search and searchall?

878


What is comp?

1162


What is perform?

1109


Explain the syntax of sort?

983


Define redefine and its syntax?

988


why icetool be used in programmer view?

2585


How to detect record is locked in cobol/400?

984


Explain how to update data area in cobol 400 program?

1031


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

1161


Explain the syntax of redefine?

923


What is sort?

965


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2498


What are the types of perform?

1051


What is sort? And its syntax?

1064


How to update data area in cobol 400 program?

1056