Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / sudheer
COmp will take 2byte pic size-1-4
4byte pic size 5-9
8byte pic size 10-18
if we use comp-3 it will take n/2+1/2 byte extra for sign if
pic is odd no.if it is even it will take n/2.
my answer is 8 bytes
pls let me know if any thng wrong
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Describe the cobol database components?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is inspect in cobol ?
Name some of the examples of COBOl 11?
Write the code to count the sum of n natural numbers.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is static and dynamic call in cobol?
how do you reference the variable block file formats from cobol programs
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.
explain sorting techniques in cobol program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How many sections are there in data division in COBOL?
How do you differentiate between cobol and cobol-ii?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is link edit in cobol?