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 do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


COMP?

2 Answers  


What is perform what is varying?

0 Answers  


01 b pic +9(4) How many bytes it will take for storage???

2 Answers  


How to pass return codes from cobol to jcl?

5 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


Hi Devolopers.. i need ur help.. i have 3 years of exp in Manual testing and SQL, next month onwards i shifted in to MAINFRAME TESTING... i have ZERO Knowledge abt mainframes.... PLS SUGGEST ME WHAT I LEARN in AMEERPET? mainframe testing or mainframe total devolopment subject... AS a devoloper u know every thing tester what to do PLSSSSSSSSS help me ITS VERY URGENT...

1 Answers  


write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...

5 Answers   iGate,


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


What should be the sorting order for SEARCH ALL?

5 Answers  


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.

12 Answers  


Categories