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


Please Help Members By Posting Answers For Below Questions

Why occurs cannot be used in 01 level in COBOL?

903


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

852


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?

2325


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

931


What is the difference between perform … with test after and perform … with test before?

1133


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

953


What guidelines should be followed to write a structured cobol prgm?

856


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.

1339


what are decleratives in cobol?

1986


Difference between array and sub-script ?

1359


) how do u code after getting data?

1769


What is the difference between comp and comp-3?

883


What are the pertinent COBOL commands?

2816


How are the next sentence and continue different from each other?

995


What are various search techniques in cobol? Explain.

849