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
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What type of SDLC u followed? Why?
How do you get the data to code the BMS macro?
How do you reference the fixed block file formats from cobol programs
How you can read the file from bottom?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Give some examples of command terminators?
What is the use of intialize verb?
What guidelines should be followed to write a structured cobol prgm?
What do you understand by psb and acb?
What is the difference between comp and comp-3?
) How do u handle errors in BMS macro
Mention the guidelines to write a structured cobol program?
Differentiate between structured cobol programming and object-oriented cobol programming.