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 |
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
How To move a value to an array using move verb?
consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
what is the minimum number of lines a Cobol program should have to successfully compile and run
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
hw to create 3 dimensional array & hw to access it?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
Name the sections present in data division.
Explain the configuration section of a cobol program with examples of syntax.