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 how to update data area in cobol 400 program?

975


How to detect record is locked in cobol/400?

933


What is sort?

900


Explain the input procedure?

898


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

908


What is output procedure?

959


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

2439


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

1107


What is comp?

1102


What is the syntax of redefine?

903


Explain the input procedure and output procedure?

867


Explain the output procedure?

981


What are the types of perform?

967


What is the actual use of fillers?

914


Define redefine and its syntax?

924