Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / tata
if we use comp3(packed decimal)
declare like 01 a pic s9(13)comp3.
13/2=6.5 and s takes extrahalf byte.
that is 6.5+0.5=7.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What are all the divisions of a COBOL program?
What are the different rules to perform a Search?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
) what is the difference between AID and HANDLE AID?
What is a report item?
Write a program to enter and display the names of students in a class using the occurs clause.
What are declaratives and what are their uses in cobol?
What is the difference between external and global variables in COBOL?
) how do u code after getting data?
How arrays can be defined in COBOL?
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.
Write down the divisions of cobol program?
How are the next sentence and continue different from each other?
how do you reference the printer file formats from cobol programs