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 |
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
Explain what you understand by passing by value.
what is the minimum number of lines a Cobol program should have to successfully compile and run
what is the use of outrecord?
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
Can anybody give me example of subscript and index
I want ALL jcl ERROR cods
what is s000 u4087 error? please give the all error codes in cobol,jcl.
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,