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
Answer Posted / 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 |
Post New Answer View All Answers
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is perform what is varying?
How you can characterize tables in cobol?
What are the cobol coding sheets?
Have you used comp and comp-3 in your project? And how?
Write a program that uses move corresponding.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are the different open modes available in cobol?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Discuss about changing dataset name in proc.
Give some examples of command terminators?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Name the divisions, which are available in a cobol program?