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
i want a program using by if, evaluate , string, unstring, perform, occurs?
how can i see junk values in dclgen or in hostvariable of comp ?
In which area will you utilize 88 level items in cobol?
how do you reference the fixed unblock file formats from cobol programs
Can we redefine the field of x(200) to less than 200?
Why occurs cannot be used in 01 level in COBOL?
What is link edit in cobol?
What is difference between static and dynamic call in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how do you reference the printer file formats from cobol programs
What rules are to be followed while using the corresponding options?
Define cobol?
What is the utilization of copybook in cobol?