How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / kingmanish
question is ambiguous.
Could you please explain what do u mean by cobol file?
PLease specify what type of file??? Flat file? VSAM ??
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol?
What is the difference between binary search and sequential search?
In COBOL programming, what is PERFORM? What is VARYING?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how to convert the recors form vsam file to db2 table tru file aid
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
) How do u handle errors in BMS macro
Name the divisions, which are available in a cobol program?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Can we change the password using ALTER? anyone tried and changed?
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 static and dynamic call in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?