How to read records from flat file in reverse order through
COBOL program?
Answer Posted / srini
Sort the file based on key in descending order. You can
read the file in reverse order.
Is This Answer Correct ? | 44 Yes | 27 No |
Post New Answer View All Answers
Difference between array and sub-script ?
What are the various section in data division and briefly explain them.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
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.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What are declaratives and what are their uses in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How can you get the ksds file records into your cobol program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What type of SDLC u followed? Why?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write a cobol program making use of the redefine clause.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How many bytes S(8) comp field occupy and its maximum value?
What guidelines should be followed to write a structured cobol prgm?