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 |
give the examples of strings in cobol
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end
can we write paragraph in area B .....
What type of SDLC u followed? Why?
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
How to convert bunch of words in a line to relvant ASCII values?
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
what is amode(24), amode(31), rmode(24) and rmode(any)?