# Max. Occurences of PE/MU-Fields in a File

**URL:** <https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Utilities-on-Mainframes\
**Created:** [November 9, 2005, 2:59pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820 "2005-11-09T14:59:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_J](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Andreas\_J](https://techcommunity.softwareag.com/u/Andreas_J)\
**Post date:** [November 9, 2005, 2:59pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/1 "2005-11-09T14:59:42Z")

</div>

Is there an utility, which can calculate the maximal number of  
occurrences of PE-Fields and MU-Fields in a database file ?

Andreas J

---

<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:** [November 9, 2005, 5:03pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/2 "2005-11-09T17:03:45Z")

</div>

I have written an utility to aid in MF → OpenSystems data transfers, but one of the things it does is to extract the maximum # of occurrences of MUs and PEs.

What operating system are we talking about ?

---

<div class="post-metadata">

**Author:** ![Andreas\_J](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Andreas\_J](https://techcommunity.softwareag.com/u/Andreas_J)\
**Post date:** [November 9, 2005, 5:10pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/3 "2005-11-09T17:10:01Z")

</div>

hi,

thanks for the fast answer.

Can i speek German ?

I search the utility for z/OS.

Tanks,

Andreas J

---

<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:** [November 11, 2005, 2:11pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/4 "2005-11-11T14:11:37Z")

</div>

I will upload the utility over the weekend, will be available here next monday, so watch this space 😉

---

<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:** [November 14, 2005, 5:34pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/5 "2005-11-14T17:34:55Z")

</div>

The attached file contains a ZIP file including an XMIT-file with the utility as well as a description on how to load and use it.

DDCMM1 will provide MU/PE information as follows:

- 
- DBID=00195 FILE=00015 NUMREC…2.664
- 
- SN Type Lvl Max
- 
* * *
- BX MU 001 -
- LC MU 001 003
- LF PE 001 005
- LK MU 001 -
- LM MU 001 008
- LW MU 001 004
- L1 MU 001 -
- L2 MU 001 -
- L3 MU 001 -
- NW MU 001 -
- NZ MU 001 -
- 

Note: This utility is not an official ADABAS utility and therefore not supported by Software AG in any way !

In case of problems or questions drop me a note at Wolfgang.Winter(at)[softwareag.com](http://softwareag.com)  
[ADAMOG.zip](https://techcommunity.softwareag.com/uploads/short-url/1hYrpqUaeoTd5QDLIx5qefkYuAy.zip) (7.31 KB)

---

<div class="post-metadata">

**Author:** ![Andreas\_J](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Andreas\_J](https://techcommunity.softwareag.com/u/Andreas_J)\
**Post date:** [November 17, 2005, 1:39pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/6 "2005-11-17T13:39:29Z")

</div>

Hi Mr. Winter,

thank you for the utility. It is exact that we ara looking for.

Andreas J

---

<div class="post-metadata">

**Author:** ![Andreas\_J](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Andreas\_J](https://techcommunity.softwareag.com/u/Andreas_J)\
**Post date:** [November 24, 2005, 12:35pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/7 "2005-11-24T12:35:46Z")

</div>

Hallo Herr Winter,

wir habe ihr ADAMOG jetzt eingesetzt und haben ganz gute Ergebnisse  
erziehlt.

Doch bei Adabasfiles mit mehreren MU/PE Feldern gitb es einen Abbruch  
mit ‘0C1’  
und folgender Ausschrift.

+ADAMOG00I: Startup commencing  
+ADAMOG03E: ADABAS Rsp 040 from L2 command  
+ADAMOG02I: Abnormal end !

M

---

<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:** [November 24, 2005, 2:18pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/8 "2005-11-24T14:18:38Z")

</div>

K

---

<div class="post-metadata">

**Author:** ![Dale\_Forrey1](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Dale\_Forrey1](https://techcommunity.softwareag.com/u/Dale_Forrey1)\
**Post date:** [September 23, 2015, 9:51pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/9 "2015-09-23T21:51:09Z")

</div>

It has been 10 years since this thread was updated. Does the ADAMOG work with version 8 mainframe databases? The zip file is still available but I get an 0C7 abend when I try and run it. If there is a replacement for what ADAMOG is supposed to do I would be interested in seeing it.

---

<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:** [September 24, 2015, 9:56pm UTC](https://techcommunity.softwareag.com/t/max-occurences-of-pe-mu-fields-in-a-file/57820/10 "2015-09-24T21:56:27Z")

</div>

Dale, it may work with ADA8 as long as no v8 features are used, but as one can guess from the timeline it’s been written well before v8 was available 😉

It’ll need to get v8-enabled, as noone asked for it in quite some time this wasn’t high on my list,  
although it was and is there, I’ll look into it.

---

<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/max-occurences-of-pe-mu-fields-in-a-file/57820/11 "2021-04-02T14:38:53Z")

</div>


