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 to read records from flat file in reverse order through
COBOL program?

Answer Posted / satty

we can read file in reverse order by using a dynamic array.
first transfer the ps into array and read it by -1 from
counter = no of records in the file

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to convert the recors form vsam file to db2 table tru file aid

3219


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2397


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

1245


IF I mention stop run in CICS what happens?

2312


example for sub strings ? and refernce modifications whit output pls

2272


Write a program to enter and display the names of students in a class using the occurs clause.

1158


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9025


what is the difference between COBOL2 AND COBOL390?

2996


How are the next sentence and continue different from each other?

1232


What is the problem of ordered sequential files access?

1118


What is a report item?

1100


Differentiate between structured cobol programming and object-oriented cobol programming.

1089


What is rmode(24)

1108


) how do u code after getting data?

2089


What are the pertinent COBOL

2516