What is different between variable length and fixed length?

Answers were Sorted based on User's Feedback



What is different between variable length and fixed length?..

Answer / saravanan

variable lenth means record should be in different format
(lenth).but the first 4 bytes only taken as a record lenth.
fixed lenth means we have declaring a record lenth.

Is This Answer Correct ?    6 Yes 0 No

What is different between variable length and fixed length?..

Answer / udaya bharathi

fixed length file contains same record length for all
records.but in variable length files length of the record
varies ,it can be useful in such cases we are not sure
about the length of the output file to be generated

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


describe 805 error

6 Answers   DELL,


How do define dynamic array in cobol.

0 Answers  


can we declare occurs in 01 level?

2 Answers   Temenos,






At the minimum, which division of COBOL is enough to be coded?

3 Answers   CTS,


how the control comes back from subprogram to mainprogram

3 Answers   IBM,


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


what is meaning by design document? who can repared for this?

5 Answers   TCS,


How do you differentiate between cobol and cobol-ii?

0 Answers  


Why IBM?

1 Answers   IBM,


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


Categories