How is sign stored in a comp-3 field?
Answers were Sorted based on User's Feedback
Answer / prashanth
sign will stored as hexadecimal in the last nibble of the
storage
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / 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 |
Answer / sai
it is stored in packed decimal formate.and in the form of
hex decimal .
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / meera
When usage is Comp3 the sign is indicated as the rightmost
nibble even S is specified or not. It is in packed decimal
format. Total size is N/2+1
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / hitz
Surya's right most half a byte is correct or Sekhar's left
most half-a-byte? please help to correct this.....
| Is This Answer Correct ? | 0 Yes | 0 No |
If the usage class is specified with the comp-3, the numeric
data item stored in packed decimal form, each item will
represent with one byte , the sign will stored in left most
half-a-byte whether the S is specified or not in the picture
cluase.
if any thing wrong let me know....
| Is This Answer Correct ? | 2 Yes | 5 No |
what is label record is standard or omitted in file description of data division?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
what is rediffine clause?in what situation it can use?give me real time example?
How to know whether the module is dynamical or statistical?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
what is sync clause?
Whtz the specialty of 77 level number ?
what happens when a copybook variables are declared using include statement ?
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
) How do u handle errors in BMS macro
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.