# I want to know how many times per user performs an execution

**URL:** <https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-Add-on-Products, Adabas-Administration-and-Monitoring\
**Created:** [March 3, 2015, 12:43pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855 "2015-03-03T12:43:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_Sualdea1](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Luis\_Sualdea1](https://techcommunity.softwareag.com/u/Luis_Sualdea1)\
**Post date:** [March 3, 2015, 12:43pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/1 "2015-03-03T12:43:59Z")

</div>

I want to know how many times per user performs an execution

USERID NUMBER EXECUTIONS  
====== ==============  
xxxxxxx 999  
yyyyyyy 88  
…

---

<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:** [March 4, 2015, 4:10pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/2 "2015-03-04T16:10:23Z")

</div>

Executes what ?

- An Adabas command ?

- A Natural program ?

- A batch job ?

---

<div class="post-metadata">

**Author:** ![Luis\_Sualdea1](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Luis\_Sualdea1](https://techcommunity.softwareag.com/u/Luis_Sualdea1)\
**Post date:** [March 4, 2015, 4:53pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/3 "2015-03-04T16:53:22Z")

</div>

. natural program of level 1 or a job natural batch

---

<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:** [March 4, 2015, 5:15pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/4 "2015-03-04T17:15:30Z")

</div>

Do you have Adabas REVIEW ?

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [March 4, 2015, 8:42pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/5 "2015-03-04T20:42:03Z")

</div>

Luis;

With regard to your answer to Wolfgang:

> [@](#):
>
> natural program of level 1 or a job natural batch

Suppose I am a “user” and execute an online Natural program. The program has a main INPUT statement where I do some data entry, then produces an online report.

Which of the following is (are) relevant to what you are trying to do:

I execute the program once, enter, in succession six different data sets, then exit the program. Do you want to count this as 1 or 6?

I execute the program once, enter two different datasets, then go to lunch, leaving my screen at the m,ain INPUT statement. After lunch I enter an additional three data sets. What do you want to count this as?

I have a batch Natural program. one day I process 2000 records that satisfy some criteria. Another day I process 3 million records. Do both of these count as 1?

What is this “utility” going to be used for?

---

<div class="post-metadata">

**Author:** ![Luis\_Sualdea1](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Luis\_Sualdea1](https://techcommunity.softwareag.com/u/Luis_Sualdea1)\
**Post date:** [March 5, 2015, 10:26am UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/6 "2015-03-05T10:26:20Z")

</div>

Yes I have ADABAS REVIEW

---

<div class="post-metadata">

**Author:** ![Luis\_Sualdea1](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Luis\_Sualdea1](https://techcommunity.softwareag.com/u/Luis_Sualdea1)\
**Post date:** [March 5, 2015, 10:38am UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/7 "2015-03-05T10:38:52Z")

</div>

I have an environment NATURAL-ADABAS in Z/OS.  
I count 1 execution whenever a user executes a program in the line of command and later it gives enter and also I count 1 whenever a user executes a Batch NATURAL-ADABAS

---

<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:** [March 9, 2015, 7:55am UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/8 "2015-03-09T07:55:03Z")

</div>

Have you considered to run an Adabas Review report with the fields

NATPROG and NATEXEC ?

Together with a rule you can as well limit the amount of produced output data. NATPROG will tell you the program name and NATEXEC will be set to ´1´ for the first time. If you do a SUM for this field you can easily see how many times the program NATPROG got called (no matter how many Adabas calls within this program were executed, but you can get this number as well with the field COMMANDS.  
Only backside is that you only see programs which do execute Adabas commands. Adabas Review is the monitoring tool for Adabas.

See Empower for further explanation of these fields:

[http://techcommunity.softwareag.com/ecosystem/documentation/adabas/rev472/ref/fldrefov.htm#natprog](http://techcommunity.softwareag.com/ecosystem/documentation/adabas/rev472/ref/fldrefov.htm#natprog)  
[http://techcommunity.softwareag.com/ecosystem/documentation/adabas/rev472/ref/fldrefov.htm#natexec](http://techcommunity.softwareag.com/ecosystem/documentation/adabas/rev472/ref/fldrefov.htm#natexec)

---

<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, 3:32pm UTC](https://techcommunity.softwareag.com/t/i-want-to-know-how-many-times-per-user-performs-an-execution/180855/9 "2021-04-02T15:32:59Z")

</div>


