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 ?    95 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and PIC9v99?

1057


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1915


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

975


What is static and dynamic call in cobol?

807


What is rmode(any) ?

919


how do you reference the variable block file formats from cobol programs

952


What is the difference between Call and a Link?

914


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

959


Mention the guidelines to write a structured cobol program?

861


What type of SDLC u followed? Why?

1744


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

990


What are 77 levels used for?

867


Write a cobol program making use of the redefine clause.

968


What is the problem of ordered sequential files access?

930


What is the default value(s) for an initialize and what keyword allows for an override of the default?

969