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 ? | 93 Yes | 10 No |
Post New Answer View All Answers
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is a report item?
What rules are followed by the search verb.
Write a program to explain size error.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Can you please let me know the centre name of INS certification in Kolkata.
How do you reference the fixed block file formats from cobol programs
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is report-item in COBOL?
Name the sections present in data division.
What are literals?
What is comp-1 and comp-2?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Difference between cobol and cobol-ii?