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 can you get the ksds file records into your cobol program?
What is a report item?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between external and global variables in COBOL?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the compute verb? How is it used?
What is the difference between next sentence and continue in cobol programing language?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are various search techniques in cobol? Explain.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how do you reference the esds vsam file formats from cobol programs
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are the cobol coding sheets?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?