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 do u handle errors in BMS macro?

1920


What is the difference between comp and comp-3?

1139


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3195


What is a report item?

1104


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

3230


What are all the divisions of a COBOL program?

1163


What is the difference between goback, stop run and exit program in cobol?

1543


What are the different rules to perform a Search?

1055


Can we redefine the field of x(200) to less than 200?

1327


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7764


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1205


Whats the difference between search & search ALL?

6418


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1054


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

1385


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2336