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 happens if parmparameter passes zero bytes to the program
What are the pertinent COBOL
Differentiate between structured cobol programming and object-oriented cobol programming.
Can we change the password using ALTER? anyone tried and changed?
For rewrite, why is it mandatory that file needs to be opened?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are the different rules of SORT operation?
Which Search verb is equivalent to PERFORM…VARYING?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How do u write test cases?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you differentiate between cobol and cobol-ii?
How do you reference the fixed block file formats from cobol programs
What is the difference between comp and comp-3 usage?