I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
Answer Posted / lu
Hi Guys,
when you say "sequential" it means you have to read from 1
to 9999...Never say sequential file and read randomly !!!!!
use read util the field you want....
Perform 100-read until ws-field = 'yes'.......
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
How many bytes S(8) comp field occupy and its maximum value?
Difference between array and sub-script ?
What is the difference between PIC 9.99 and 9v99 in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
In COBOL, what is the different between index and subscript?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Are you comfortable in cobol or jcl?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Describe the cobol database components?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between PIC 9.99 and PIC9v99?
How many sections are there in data division in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?