# HISTOGRAM and ISNs

**URL:** <https://techcommunity.softwareag.com/t/histogram-and-isns/93813>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [June 10, 2010, 4:27pm UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813 "2010-06-10T16:27:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ats](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Ats](https://techcommunity.softwareag.com/u/Ats)\
**Post date:** [June 10, 2010, 4:27pm UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813/1 "2010-06-10T16:27:32Z")

</div>

May be a basic one but still interested to know…

HISTOGRAM only has access to the inverted lists and return two items:

1. Value of descriptor
2. Number of records which have that value

ISNs are available in inverted lists but not returned to Natural…why it behaves like that or why internal design is made like that?

---

<div class="post-metadata">

**Author:** ![Mike3](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Mike3](https://techcommunity.softwareag.com/u/Mike3)\
**Post date:** [June 11, 2010, 2:00am UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813/2 "2010-06-11T02:00:39Z")

</div>

Good question, because the ISN’s are available from a L9 call with an “I” in COP2.

The only thing I can guess at is because the list could be huge, the Record Buffer might not be large enough to pass the entire list. Maybe the V8 ACBX will help at some point.

---

<div class="post-metadata">

**Author:** ![Ats](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Ats](https://techcommunity.softwareag.com/u/Ats)\
**Post date:** [June 11, 2010, 12:01pm UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813/3 "2010-06-11T12:01:28Z")

</div>

Hey Mike,

Sorry but I didn’t get the following:

1. L9 call with an “I” in COP2
2. Maybe the V8 ACBX will help at some point

Can be please explain more?

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [June 12, 2010, 1:29am UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813/4 "2010-06-12T01:29:56Z")

</div>

Mike is referring to the direct command syntax. See the documentation for the L9 (Histogram) command - [http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada822mfr/adamf/pgmcard/adacmds.htm#l9](http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada822mfr/adamf/pgmcard/adacmds.htm#l9)

---

<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:58pm UTC](https://techcommunity.softwareag.com/t/histogram-and-isns/93813/5 "2021-04-02T14:58:36Z")

</div>


