Hi All,
how is sign is stored in S9(17) comp-3 variable.
Answer with an Example will be of great help.

Answer Posted / blessy

it is stored as hex value in the last nibble(4 bits) of the
storage. for eg: if the number is +100, it stores hex 0C in
the last byte. as 2D if the number is -102 .

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


how can i see junk values in dclgen or in hostvariable of comp ?

2544


In which area will you utilize 88 level items in cobol?

722


how do you reference the fixed unblock file formats from cobol programs

712


Can we redefine the field of x(200) to less than 200?

820






Why occurs cannot be used in 01 level in COBOL?

719


What is link edit in cobol?

772


What is difference between static and dynamic call in cobol?

777


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


how do you reference the printer file formats from cobol programs

665


What rules are to be followed while using the corresponding options?

641


Define cobol?

864


What is the utilization of copybook in cobol?

657