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 Pic 9v99 Indicates?
what is sysncpoint?
How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
how we rectify soc7 and soc4 errors in project?
how you read control card into array?
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.
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
How many maximum number of procedures can we write in one COBOL program?
If we use GO BACK instead of STOP RUN in cobol?
what are the diferences b/w sub-script and index?
what is the use of comp2 ? where can we use it with example ?