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
What are the pertinent COBOL commands?
how do you reference the variable block file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between comp and comp-3 usage?
What is the compute verb? How is it used?
How do we get current date from system with century in COBOL?
What is comp-1 and comp-2?
what are decleratives in cobol?
what is the use of outrecord?
How you can characterize tables in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Difference between cobol and cobol-ii?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?