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
how to convert the recors form vsam file to db2 table tru file aid
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.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
IF I mention stop run in CICS what happens?
example for sub strings ? and refernce modifications whit output pls
Write a program to enter and display the names of students in a class using the occurs clause.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
what is the difference between COBOL2 AND COBOL390?
How are the next sentence and continue different from each other?
What is the problem of ordered sequential files access?
What is a report item?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is rmode(24)
) how do u code after getting data?
What are the pertinent COBOL