Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How can you get the ksds file records into your cobol program?

1100


What is a report item?

1144


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.

6592


What is the difference between external and global variables in COBOL?

1467


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.

4173


What is the compute verb? How is it used?

1149


What is the difference between next sentence and continue in cobol programing language?

1223


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2376


What are various search techniques in cobol? Explain.

1072


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.

5749


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1084


how do you reference the esds vsam file formats from cobol programs

1217


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

3165


What are the cobol coding sheets?

1275


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1235