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
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 |
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 |
Why there is no questions in this column?
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
comp-3 field occupy?
What is "Call by content" and "call by reference"?
In COBOL "BEFORE" advancing is there or not ?
Name the divisions, which are available in a cobol program?
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?
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
HOw can I get the negative sign while deduct high value from low value
What is the difference between a binary search and a sequential search what are the pertinent cobol?
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?
What are all the divisions of a COBOL program?