Answer Posted / kiran
Hi friends Both are correct and you can make use of them as
your reference.
Packed Decimal representation. Two digits are stored in
each byte. Last nibble is for
sign. (F for unsigned positive, C for signed positive and D
for signed negative)
Formula for Bytes: Integer ((n/2) + 1)) => n is number of
9s.
if you need more than 18 decimal digits, you must use COMP-
3 (or DISPLAY) as COMP variables cannot exceed 18 digits
while COMP-3 can be up to 31 digits.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how do you reference the printer file formats from cobol programs
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write some characteristics of cobol as means of business language.
) How do u handle errors in BMS macro
i need a small 3d program using inline and outline.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How are the next sentence and continue different from each other?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is amode(24)?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc