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 |
Define in-line perform?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
What is LENGTH in COBOL II?
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above
what is the difference between perform varying and perform until
wht happens if we dnt give scope terminator ?
9(2).99 how many bytes take? Why . consider as a byte?
can we use 77 level no for Redefines?if we use give an example?