View previous topic :: View next topic
|
Author |
Message |
p991107
New User
Joined: 23 Jan 2007 Posts: 2 Location: Brazil
|
|
|
|
Hello,
This is my first question in this list.
I saw some questions here, and understand that here I can have a answer.
It's about the limit of number itens in a TSQueue of 32767.
If have two bytes of lentgth , this number can be 61440.
So if what I think is correct, why CICS don't see this number ?
Thanks |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Because it is signed? |
|
Back to top |
|
|
p991107
New User
Joined: 23 Jan 2007 Posts: 2 Location: Brazil
|
|
|
|
Hello William,
Sorry about disturb, but when the field is signed, we lost half of the byte,
It's correct ?
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I suspect what you lost is 1/2 of the range of the value. The sign is only the high order bit for a signed binary field. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
p991107 wrote: |
when the field is signed, we lost half of the byte,
It's correct ? |
No, you lost just the high order bit, which like Dick said is "1/2 of the range of the value"...... |
|
Back to top |
|
|
|