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

How to know whether the module is dynamical or statistical?

901


What are various search techniques in cobol? Explain.

906


Why occurs cannot be used in 01 level in COBOL?

954


Whats the difference between search & search ALL?

5994


How are the next sentence and continue different from each other?

1069


Differentiate between structured cobol programming and object-oriented cobol programming.

880


How to remove 2 duplicate records and copy only one using job control language?

1016


What is the difference between perform … with test after and perform … with test before?

1195


Explain the configuration section of a cobol program with examples of syntax.

923


What is the Purpose of Pointer in the string?

873


HOw can I get the negative sign while deduct high value from low value

2053


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

953


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

912


In COBOL, what is the different between index and subscript?

1008


how to convert the recors form vsam file to db2 table tru file aid

3021