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 |
how to transfer the file from pc to mainframe??
what is record label is empty or standard in file description of data division?
how to display comp3 variables reply soon ?
88 class is used for
What are different file OPEN modes available in COBOL?
01 a pic s9(5) value '-12345' how it will be stored
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
What the difference is between continue and next sentence?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
how to access vsam files in cobol and how to differentiate that this is ESDS file
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
What is SDSF?