How to read a record from bottom of a file which is
indexed by 'A'.
Answer Posted / bm
USE SORTING ie:
SORT file-name1
ON DESCENDING KEY A
USING file-name2
GIVING file-name3
then read file-name3.
This is the nearest I can think of, any other solutions
please..
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the problem of ordered sequential files access?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is amode(24), amode(31), rmode(24) and rmode(any)?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Can you please let me know the centre name of INS certification in Kolkata.
What is the utilization of copybook in cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
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.
What is the difference between goback, stop run and exit program in cobol?
What are the rules of the move verb?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?