How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answers were Sorted based on User's Feedback
Answer / guest1
Using FILE-AID, copy lost 100 records only in to a seperate
file and read the records.
| Is This Answer Correct ? | 1 Yes | 5 No |
why 02 level number can't be use as a separate level number like 01 or 77 ?
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do you define a sort file in JCL that runs the COBOL program?
how do you reference the variable block file formats from cobol programs
How do you reference the following file formats from cobol programs?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
can internal sort be applied to sort ksds files?