consider the following PROCEDURE DIVISION entry
OPEN EXTEND IN-FILE
identify the correct statement
a.organization of IN-FILE is sequential and records can
be added in the
beginning
b.organization of IN-FILE is sequential and records can
be added in the
end
c.organization of IN-FILE is indexed and records can be
added in the
beginning
d.organization of IN-FILE is indexed and records can be
added in the end
Answer Posted / shiva
when ever we access sequential files in extend mode...
it will append the new record at the end of last record
and so on.....
so option b is correct
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are various search techniques in cobol? Explain.
Write a program that uses move corresponding.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
how do you define single dimensional array and multidimensional array in your cobol?
How many bytes S(8) comp field occupy and its maximum value?
Differentiate between structured cobol programming and object-oriented cobol programming.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Explain how to differentiate call by context by comparing it to other calls?
How do you get the data to code the BMS macro?
Write the code implementing the perform … varying.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are the different open modes available in cobol?
how do you reference the esds vsam file formats from cobol programs
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do you differentiate between cobol and cobol-ii?