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 reference the ksds vsam file formats from cobol programs
What is redefines clause in COBOL?
What is the difference between comp and comp-3 usage?
Name some of the examples of COBOl 11?
Difference between array and sub-script ?
What is length is cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is rmode(24)
how to move the records from file to array table. give with code example
HOw can I get the negative sign while deduct high value from low value
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is report-item in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?