Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / i go crazy
Hi Suv,
If u code S9(14) COMP, it will take double word i.e. 8
bytes. Below is the size of comp variables.
S9(01) - S9(04) : 2 BYTES.
S9(05) - S9(09) : 4 BYTES.
S9(10) - S9(18) : 8 BYTES.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Explain how to differentiate call by context by comparing it to other calls?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are different data types in cobol?
What is the difference between goback, stop run and exit program in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How do get the result of your program directly on your pc?
how do you reference the fixed unblock file formats from cobol programs
What is the problem of ordered sequential files access?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how to refer the data field?
What is a SSRANGE and NOSSRANGE?
Explain the configuration section of a cobol program with examples of syntax.