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

Answers were Sorted based on User's Feedback



consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct s..

Answer / vel

b

Is This Answer Correct ?    7 Yes 0 No

consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct s..

Answer / poonam

b.organization of IN-FILE is sequential and records can
be added in the END.

Is This Answer Correct ?    5 Yes 0 No

consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct s..

Answer / 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

More COBOL Interview Questions

Why there is no questions in this column?

6 Answers  


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


comp-3 field occupy?

5 Answers  


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


In COBOL "BEFORE" advancing is there or not ?

3 Answers  






Name the divisions, which are available in a cobol program?

0 Answers  


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


HOw can I get the negative sign while deduct high value from low value

0 Answers  


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


What are all the divisions of a COBOL program?

0 Answers  


Categories