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 is the difference between structured cobol programming and object alternativelyiented cobol programming?

1254


When is inspect verb is used in cobol?

1267


How do u write test cases?

2076


Describe the cobol database components?

1189


What is the Purpose of Pointer in the string?

1089


how do you reference the esds vsam file formats from cobol programs

1228


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5382


What is link edit in cobol?

1223


Write a program to explain size error.

1208


What is the difference between comp and comp-3?

1198


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1182


What are the different open modes available in cobol?

1206


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1164


How do you reference the fixed block file formats from cobol programs

1242


How do you get the data to code the BMS macro?

1987