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
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What rules are followed by the search verb.
What is link edit in cobol?
What is the difference between binary search and sequential search?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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
Define static linking and dynamic linking.
In COBOL, what is the different between index and subscript?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Give some examples of command terminators?
Name the sections present in data division.
What is the difference between Global and External Variables?
How do you reference the following file formats from cobol programs?
how to move the records from file to array table. give with code example
What are the pertinent COBOL commands?