How is sign stored in a comp-3 field?

Answer Posted / nitin

It is stored in the last nibble. For example if your number
is +100, it stores hex 0C in the last byte, hex 1C if your
number is 101, hex 2C if your number is 102, hex 1D if the
number is -101, hex 2D if the number is -102 etc...

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is inspect verb is used in cobol?

903


What is the difference between structured cobol programming and object alternativelyiented cobol?

976


Write a cobol program making use of the redefine clause.

916


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

896


Can we change the password using ALTER? anyone tried and changed?

1734


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

941


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2162


What is static and dynamic call in cobol?

778


What is the difference between perform … with test after and perform … with test before?

1133


What is the use of intialize verb?

957


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2131


Explain how to differentiate call by context by comparing it to other calls?

894


What is a SSRANGE and NOSSRANGE?

1092


What are the pertinent COBOL commands?

2816


What is cobol?

933