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
What is the difference between PIC 9.99 and PIC9v99?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is static and dynamic call in cobol?
What is rmode(any) ?
how do you reference the variable block file formats from cobol programs
What is the difference between Call and a Link?
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?
Mention the guidelines to write a structured cobol program?
What type of SDLC u followed? Why?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are 77 levels used for?
Write a cobol program making use of the redefine clause.
What is the problem of ordered sequential files access?
What is the default value(s) for an initialize and what keyword allows for an override of the default?