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 can we code index in an array of cobol pgm?

Answer Posted / jenny

It can be done in two ways:

1.Using the INDEXED BY phrase on the OCCURS clause.

2.index can be defined(as a working storage variable) with
USAGE IS INDEX clause.

In either case the index is set, icreased or decreased
using the SET verb in the Procedure Division.

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

1510


In which area will you utilize 88 level items in cobol?

1205


Can we redefine the field of x(200) to less than 200?

1429


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1437


Write a program that uses move corresponding.

1204


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

1304


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

915


how do you reference the rrds file formats from cobol programs

1653


What is redefines clause in COBOL?

1347


What is Pic 9v99 Indicates in COBOL?

1337


what are decleratives in cobol?

2303


Why did you choose to work with ibm mainframe cobol programming?

1156


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1228


What is the local-storage section?

1190


how can i see junk values in dclgen or in hostvariable of comp ?

3048