which is better comp or comp-3 in terms of memory
utilization?
Answer Posted / santy
COMP is better that COMP-3 in terms of memory utilization.
check out below examples.
COMP COMP-3
(in bytes) (in bytes)
S9(04) 2 3
S9(08) 4 5
S9(09) 4 5
S9(10) 8 6
S9(11) 8 6
S9(12) 8 7
S9(13) 8 7
S9(14) 8 8
hope it is useful.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
what is search and searchall?what is the diffrence between them?give an best example?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do you define a variable of comp-1 and comp-2?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Differentiate between structured cobol programming and object-oriented cobol programming.
A table has two indexes defined. Which one will be used by the SEARCH?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is rmode(any) ?
How are the next sentence and continue different from each other?
Describe the cobol database components?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how do you reference the esds vsam file formats from cobol programs
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?