How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / guest
First move HIGH-VALUES to the key field and then read the
file.It will read the last record then put READ PREV in
loop 100 times to get the last 100 records.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
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 to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you reference the fixed block file formats from cobol programs
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is a SSRANGE and NOSSRANGE?
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
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How can you get the ksds file records into your cobol program?
Give some examples of command terminators?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What are the access modes of START statement?
What is comp-1 and comp-2?
how to access the file from prodution from changeman tool and to submit a file to production
how do you reference the ksds vsam file formats from cobol programs