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 is search and searchall?what is the diffrence between them?give an best example?
What are different data types in cobol?
How you can characterize tables in cobol?
how do you reference the fixed unblock file formats from cobol programs
How do we get current date from system with century in COBOL?
) How do u handle errors in BMS macro
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How are the next sentence and continue different from each other?
Difference between cobol and cobol-ii?
How do you reference the fixed block file formats from cobol programs
Why would you use find and get rather than to obtain?
Give some examples of command terminators?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?