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...

I have a sequential file of 100 records. How do I load the
records into a two dimensional array ?

Answer Posted / neilsh

It should be
01 xyz
05 pqr occurs 2 times indexed by i
07 abc occurs 50 times indexed by j
09 rec pic x(40).

so it would be like 50 occurance of rec and then 2 occurance
of abc

50 + 50 = two divisions

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1291


Which is not true about evaluate statement

2396


A table has two indexes defined. Which one will be used by the SEARCH?

1232


How do we get current date from system with century in COBOL?

1324


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

1036


What are the rules of the move verb?

1196


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1202


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

1157


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

1190


In COBOL, what is the different between index and subscript?

1188


What type of SDLC u followed? Why?

1962


what is amode(24), amode(31), rmode(24) and rmode(any)?

1093


What is report-item in COBOL?

1096


how to refer the data field?

2211


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

1083