Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.

Answer Posted / sruthi

Fixed length means the length of all records in the file is
same.so we code record length is x chrs
where as in variable length means the length of records are
varying from each other. so we code as record length is x
to y chars

Is This Answer Correct ?    31 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

5680


Explain the configuration section of a cobol program with examples of syntax.

659


What is the Purpose of Pointer in the string?

643


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

926


what is search and searchall?what is the diffrence between them?give an best example?

5555






Write some characteristics of cobol as means of business language.

619


Difference between cobol and cobol-ii?

704


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1936


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

828


Can a Search can be done on a table with or without Index?

802


What the difference is between continue and next sentence?

658


What are declaratives and what are their uses in cobol?

714


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

813


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

717


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

742