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
how do you reference the rrds file formats from cobol programs
What are different data types in cobol?
What is the difference between Call and a Link?
Define cobol?
Define static linking and dynamic linking.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How to know whether the module is dynamical or statistical?
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 amode(24)?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Which division and paragraphs are mandatory for a COBOL program?
What are literals?
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
) how do u code after getting data?
how to access the file from prodution from changeman tool and to submit a file to production