# Is the ISN always greater than zero?

**URL:** <https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-Basics-on-Linux-Unix-Windows, Adabas-on-Windows-UNIX, Adabas-on-Linux\
**Created:** [February 8, 2006, 1:12pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873 "2006-02-08T13:12:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [February 8, 2006, 1:12pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873/1 "2006-02-08T13:12:57Z")

</div>

Hello all!

Just a stupid question: Is the ISN of an ADABAS-Record always \> 0 ?

I know about a special meaning of ISN in connection to the NATURAL Historgram-Command (IIRC Adabas command “L9”). Are there any other special cases where ISN can be zero or even negative?

Kind regards,

Matthias

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 8, 2006, 1:20pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873/2 "2006-02-08T13:20:30Z")

</div>

> [@Matthias](#):
>
> Just a stupid question: Is the ISN of an ADABAS-Record always \> 0 ?

YES, every Adabas record, when stored, gets its unique ISN \> 0.

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [February 8, 2006, 4:03pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873/3 "2006-02-08T16:03:46Z")

</div>

> [@WoWi](#):
>
> YES, every Adabas record, when stored, gets its unique ISN \> 0.

Thanks! I think that’s what NAT3113 is trying to tell me.  
The reason for asking this question was: \*ISN (inside a Natural Histogram-loop) can be zero even if some records are available. But if I understand you correctly, an ISN less or equal zero can’t be a “real” record.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 8, 2006, 4:41pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873/4 "2006-02-08T16:41:15Z")

</div>

> [@Matthias](#):
>
> \*ISN (inside a Natural Histogram-loop) can be zero even if some records are available.

\*ISN on a HISTOGRAM does not return the ISN, because the purpose of a HISTOGRAM is to tell you the number of records with a given descriptor value.

On a HISTOGRAM \*ISN is used to tell you the occurrence within a PE in which the descriptor is contained. It will be 0 for all descriptors not contained in a PE !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/is-the-isn-always-greater-than-zero/57873/5 "2021-04-02T14:38:55Z")

</div>


