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


Please Help Members By Posting Answers For Below Questions

how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1875


Write the code to count the sum of n natural numbers.

911


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7268


What is perform what is varying?

903


What is a report item?

889


Can we redefine the field of x(200) to less than 200?

1080


A table has two indexes defined. Which one will be used by the SEARCH?

1002


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

957


How do we get current date from system with century in COBOL?

1045


What type of SDLC u followed? Why?

1713


In COBOL, what is the different between index and subscript?

934


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

850


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2098


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2864


What are the different rules of SORT operation?

885