in a indexed file what is procedure for read the records
from 12 to 18. please give the code example
Answers were Sorted based on User's Feedback
Answer / santhosh vayathuri
use fallowing code
file-control
organization is indexed.
access mode is dynamic
record key is eno
procedure division
move 12 to eno
perform readpara until fnd = yes
stop run.
readpara.
read file1
if eno = 18
move 'yes' to fnd
end-if.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / satish
it is dynamical acess.using start verb it is done
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between array and sub-script ?
how to create temporary data set in jcl? what is the use?
3 Answers Cap Gemini, Temenos,
What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......
period is missing in the cobol program which error we getting
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
how do u link sub pgm to main pgm ?
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?
In COBOL programming, what is PERFORM? What is VARYING?
What is the reference modification.
What is an index for tables?
Can 88 level variable be declared in FD section..?
how to resolve the file status 47.......