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
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between PIC 9.99 and PIC9v99?
What is inspect in cobol ?
What type of SDLC u followed? Why?
What is a SSRANGE and NOSSRANGE?
Write some characteristics of cobol as means of business language.
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Explain how to differentiate call by context by comparing it to other calls?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
When is inspect verb is used in cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
How many bytes S(8) comp field occupy and its maximum value?
Describe the cobol database components?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?