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

Answer Posted / jack

Read seq. file and store it in tables means arrays.
We can use 'seach all' for random access.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you comfortable in cobol or jcl?

633


how to convert the recors form vsam file to db2 table tru file aid

2747


Give some examples of command terminators?

749


Define static linking and dynamic linking.

653


What are literals?

622






How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687


What are the rules of the move verb?

693


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

694


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

724


explain sorting techniques in cobol program?

681


In COBOL, what is the different between index and subscript?

750


Can a Search can be done on a table with or without Index?

796


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


What is the utilization of copybook in cobol?

648


How to know whether the module is dynamical or statistical?

648