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 |
What should be the sorting order for SEARCH ALL?
what are the control characters used in reports
How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
what are the diferences b/w sub-script and index?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
what is the minimum number of lines a Cobol program should have to successfully compile and run
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
is it possible to rename 01 level?
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