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 |
how you read control card into array?
What is COMP-1? COMP-2?
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
Can we move X(7) to S9(7) COMP?
how will you define vsam file in select clause?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
if you give cylinder(1,1)how many cylinders it will be allocate?
What is EIBCALEN? Why it is used?
COMP-3 field occupy ?
Explain call by context by comparing it to other calls.
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is the meaning of 'TALLING' verb in cobol?