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 / sunilkumar

First open the file in reverse order using OPEN command

OPEN FILE file-name REVERSE

Then read twice to get the 2nd last record.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1972


what is difference between cobol and cobol/400

22929


Difference between cobol and cobol-ii?

1280


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

2599


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2550


Write the code to count the sum of n natural numbers.

1210


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


Explain about different table spaces.

1107


what happens if parmparameter passes zero bytes to the program

2133


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1300


What are the different rules to perform a Search?

1098


What is length is cobol?

1101


What is the difference between external and global variables in COBOL?

1466


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1256


What are the access modes of START statement?

1273