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

Answers were Sorted based on User's Feedback



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

Answer / sam insa

when we declare array with its size is called as fixed
lengh and when we declare array with pointer it is called
variable length record.

Is This Answer Correct ?    1 Yes 4 No

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

Answer / bikash ghosh

fixed length code:=
it is a code in which a fixed number of source symbol
encoded into a fixed number of output symbol.

variable length code:=
it can allow sources to be compressed and
decompressed with zero error and still read back symbol by
symbol.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More COBOL Interview Questions

What is report-item in COBOL?

0 Answers   Arigo Infotech,


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,


when COMP-3 is preferrable?

3 Answers   Patni,


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


Write the code to count the sum of n natural numbers.

0 Answers  






What is the difference between a binary search and a sequential search?

10 Answers  


Which is not true about evaluate statement

0 Answers  


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


What are the cobol coding sheets?

0 Answers  


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   GreenTree, IBM,


Categories