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
Write a program to explain size error.
How to know whether the module is dynamical or statistical?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the different rules of SORT operation?
Explain the configuration section of a cobol program with examples of syntax.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Write down the divisions of cobol program?
State the various causes of s0c1, s0c5 and s0c7.
Why did you choose to work with ibm mainframe cobol programming?
Why would you use find and get rather than to obtain?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the Purpose of Pointer in the string?
What is comp-1 and comp-2?
Give some examples of command terminators?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?