How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / 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 |
Post New Answer View All Answers
Why occurs cannot be used in 01 level in COBOL?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between perform … with test after and perform … with test before?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What guidelines should be followed to write a structured cobol prgm?
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 are decleratives in cobol?
Difference between array and sub-script ?
) how do u code after getting data?
What is the difference between comp and comp-3?
What are the pertinent COBOL commands?
How are the next sentence and continue different from each other?
What are various search techniques in cobol? Explain.