I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / harsha
Read file sequentially and load it in table. keep check on
the number of ocurances(i.e. number of records).
Once the table is fully loaded, you know the total
occurances. Say it is X. Now read the table with occurance
X-3
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
example for sub strings ? and refernce modifications whit output pls
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
what is difference between cobol and cobol/400
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 did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What rules are followed by the search verb.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What the difference is between continue and next sentence?
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
Difference between cobol and cobol-ii?
Describe the cobol database components?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do we get current date from system with century in COBOL?