Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.
Answer Posted / subash
A file where all the records are of the same length is said to have fixed length records.
Advantage : Access is fast because the computer knows where each record starts.
Disadvantage : Using Fixed length records, the records are usually larger and therefore need more storage space and are slower to transfer (load or save).
One or more of the fields can be of differing lengths in each record, called variable length records
Advantages:
the records will be smaller and will need less storage space
the records will load faster
Disadvantages:
The computer will be unable to determine where each record starts so processing the records will be slower.
Is This Answer Correct ? | 74 Yes | 10 No |
Post New Answer View All Answers
How do you get the data to code the BMS macro?
explain sorting techniques in cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What the difference is between continue and next sentence?
What is the usage of comp fields in cobol?
How to know whether the module is dynamical or statistical?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
i want a program using by if, evaluate , string, unstring, perform, occurs?
What type of SDLC u followed? Why?
What is amode(31)
What is perform what is varying?
What is rmode(any) ?
how can i see junk values in dclgen or in hostvariable of comp ?
Which is not true about evaluate statement