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
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 |
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 |
What is report-item in COBOL?
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
when COMP-3 is preferrable?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
Write the code to count the sum of n natural numbers.
What is the difference between a binary search and a sequential search?
Which is not true about evaluate statement
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.
what is the minimum number of lines a Cobol program should have to successfully compile and run
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.
What are the cobol coding sheets?
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