I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
Answer Posted / guest
Harish ,
What is "KEY-FILE1" ?
Anyhow - you are still reading file sequentially ? arnn't
you ?
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the LINKAGE SECTION used in COBOL?
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?
What is a SSRANGE and NOSSRANGE?
) How do u handle errors in BMS macro
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the Purpose of Pointer in the string?
Explain the configuration section of a cobol program with examples of syntax.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do you reference the fixed block file formats from cobol programs
Name the sections present in data division.
Difference between array and sub-script ?
Write down the divisions of cobol program?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this