How to read records from flat file in reverse order through
COBOL program?

Answers were Sorted based on User's Feedback



How to read records from flat file in reverse order through COBOL program?..

Answer / sreejith

i think it is also possible by using access mode dynamic.
first randomly point last record from the file using START
option. after you start read record in reverse order by
using READ PREV option until header of the file reached

Is This Answer Correct ?    18 Yes 26 No

How to read records from flat file in reverse order through COBOL program?..

Answer / gurukulu

use COBOL internal sort in ascending or descending key.

Is This Answer Correct ?    0 Yes 11 No

How to read records from flat file in reverse order through COBOL program?..

Answer / janu

using iebcmpr
we can easily read
sort fields=(pos,length,d,char)

Is This Answer Correct ?    8 Yes 23 No

How to read records from flat file in reverse order through COBOL program?..

Answer / chp

can we use read prev in cobol programming???

Is This Answer Correct ?    8 Yes 23 No

Post New Answer

More COBOL Interview Questions

What type of SDLC u followed? Why?

0 Answers   IBM,


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?

1 Answers   CTS, HCL,


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


how to transfer the file from pc to mainframe??

5 Answers   TCS,


what is sysncpoint?

1 Answers   IBM,


. How do we cast a variable in COBOL

1 Answers   HSBC,


What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


what is search and searchall?what is the diffrence between them?give an best example?

3 Answers   BirlaSoft,


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


Define cobol?

0 Answers  


How to retain the Duplicates in the one records?

3 Answers   CS,


Categories