there is a file whose ORGANISATION is INDEXED.you want to
read the records
from the file in RANDOM fashion as well as
sequentially.then which of the
access mode would you specify?
a.SEQUENTIAL
b.RANDOM
c.DYNAMIC
D.ACCESS MODE has nothing to do with it
Answers were Sorted based on User's Feedback
Answer / shailendra
dynamic is the right ans.
firstly you will direct enter the no. or key element
from where you want to start to read, then you can read
sequentially.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / abinand shetty
c.dynamic as it is combination of random and sequential
| Is This Answer Correct ? | 1 Yes | 1 No |
COMP?
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
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 Purpose of POINTER Phrase in STRING command
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
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
Can a Search can be done on a table with or without Index?
What is COMP SYNC?
in cobol perform stmt whether it first checks the condition or not
What is amode(31)
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
What is a report item?