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

sample code for read a 2nd record from last in flatfile how
can do?

Answer Posted / santhosh vayathuri

for this we need to do fallowing steps

1) read all the records and store into an array and count
value store into an var

2) from that array subtract count var by 1 we will get last
2nd record

ex :: array(count-1) == last 2nd rec

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the utilization of copybook in cobol?

1124


What are the different open modes available in cobol?

1153


Explain how you can characterize tables in cobol?

1016


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1234


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1179


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2547


What is the difference between binary search and sequential search?

1052


What is amode(31)

1115


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1039


what happens if parmparameter passes zero bytes to the program

2089


Which division and paragraphs are mandatory for a COBOL program?

1211


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2332


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

1189


Write a program that uses move corresponding.

1084


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

1248