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 |
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
Can we change the password using ALTER? anyone tried and changed?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
what is difference between cobol and cobol/400
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
wht do u mean by (*,intrdr) wht is * used for ?
State the various causes of s0c1, s0c5 and s0c7.
How include time & date in the report generation in cobol programing?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.