How to read records from flat file in reverse order through
COBOL program?
Answers were Sorted based on User's Feedback
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 |
Answer / gurukulu
use COBOL internal sort in ascending or descending key.
| Is This Answer Correct ? | 0 Yes | 11 No |
Answer / janu
using iebcmpr
we can easily read
sort fields=(pos,length,d,char)
| Is This Answer Correct ? | 8 Yes | 23 No |
What are the access modes of START statement?
What care has to be taken to force program to execute above 16 Meg line?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
perform I from 0 by 1 until I=5?How maney times it will executes
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
A s9(4). B v9(4) value 0.21 can i move this?
i need a small 3d program using inline and outline.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?