Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.
Answer Posted / sushant chavan
fixed length:-
1.Every record in the file has exactly same size (in byte)
2.It take huge memory.
3.Access become fast.
4.Computer knows exact location of records so easy access.
5.slow in transferring the records it has large size.
Variable length:-
1.Different record in the file have different size.
2.It take least memory.
3.access become slow.
4.computer does not know exact location of record so slow access.
5.fast transferring as it is small in size.
| Is This Answer Correct ? | 96 Yes | 10 No |
Post New Answer View All Answers
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
For rewrite, why is it mandatory that file needs to be opened?
What is a report item?
What do you understand by psb and acb?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Which Search verb is equivalent to PERFORM…VARYING?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are the different data types in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Write a program to explain size error.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Write the code to count the sum of n natural numbers.
How do you define a variable of comp-1 and comp-2?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?