Which of the following files can be OPENed in all the 4
modes? The four
modes are INPUT, I-O, OUTPUT and EXTEND.
(a) INDEXED
(b) RELATIVE
(c) SEQUENTIAL
(d) All of the above
Answers were Sorted based on User's Feedback
Answer / nihar ranjan karan
People please post answers only if you confident on those.
Please do some research before posting some answers:
The answers provided by Ad and Islam is correct.
ESDS,KSDS, RRDS VSAM dataset can be opened in all four
modes but only when the ACCESS MODE IS SEQUENTIAL is
provided. For KSDS and RRDS, when ACCESS MODE IS
RANDOM/DYNAMIC then it can be opened in onlt INPUT, OUPUT
and I-O modes only.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / islam
Correctt answer is (d) all of the above.
I have checked in a IBM document
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the mode in which you will OPEN a file for writing?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
what happens when a copybook variables are declared using include statement ?
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
Can the OCCURS clause be at the 01 level?
How do you reference the following file formats from cobol programs?
what are the error codes in cobol, db2, cics, vsam , and jcl
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
what is the use of outrecord?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
What is CALL statement in COBOL?
Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.