I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
Answer Posted / santhosh
write a temporary index file defining unique key, move the
sequential file to that temp index file and access the temp.
index file randomly
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are different data types in cobol?
When is inspect verb is used in cobol?
In which area will you utilize 88 level items in cobol?
how to refer the data field?
) How do u handle errors in BMS macro
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
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?
How do you get the data to code the BMS macro?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
what is the use of outrecord?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the utilization of copybook in cobol?
how do you reference the fixed unblock file formats from cobol programs
Difference between cobol and cobol-ii?