I have a sequential file. How do I access a record in this
sequential file randomly in my program ?

Answer Posted / sruthi

we can do that by using tables means arrays concept.
we can use search all for that

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2716


How you can characterize tables in cobol?

707


What is the difference between external and global variables in COBOL?

804


What is cobol?

735


IF I mention stop run in CICS what happens?

1886






what is search and searchall?what is the diffrence between them?give an best example?

5528


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5662


Difference between array and sub-script ?

1151


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1013


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3706


how do you reference the printer file formats from cobol programs

644


Give some examples of command terminators?

749


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

461


Explain how you can characterize tables in cobol?

634


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

806