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 |
What is SQL Code -904 and -903 in DB2 And how to handle it?
for an INITIALIZE and what keyword allows for an override of the default.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
how to know that the file has 300 records how to acess it?
What is the reference modification.
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.
What is SET TO TRUE all about, anyway?
What are the functions like c or c++ in cobol?
subscript and index r not coded in u r application program what will happen?
how to code in cobol while using variable block file?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?