# how discover adabas file number.

**URL:** <https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Basics-on-Mainframes\
**Created:** [February 24, 2009, 6:45am UTC](https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260 "2009-02-24T06:45:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauro\_seraphim](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mauro\_seraphim](https://techcommunity.softwareag.com/u/mauro_seraphim)\
**Post date:** [February 24, 2009, 6:45am UTC](https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260/1 "2009-02-24T06:45:36Z")

</div>

hello,  
I have the following utilities to construct a data mapping faciility.  
TO OBTAIN DATA MAPPING DEFINITIONS FROM AN ADABAS  
ADAREP REPORT FOR ADABAS IVP INSTALLATION but , I don

---

<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:** [March 5, 2009, 9:52am UTC](https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260/2 "2009-03-05T09:52:49Z")

</div>

Just use ADAREP with no parameters - it will report on all files.

Since you are using MODE=MULTI, you can probably omit the DEVICE parameter. If not, DEVICE=3390 is fairly common. The output of the ADAREP will include the DEVICE assignments.

From your JCL, your DBID is probably 1. DBID=1.

Your JCL is set up to write the report (DDDRUCK) to a temporary file, not to the printer.

---

<div class="post-metadata">

**Author:** ![mauro\_seraphim](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mauro\_seraphim](https://techcommunity.softwareag.com/u/mauro_seraphim)\
**Post date:** [March 6, 2009, 11:52pm UTC](https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260/3 "2009-03-06T23:52:41Z")

</div>

It works now!

Thank you!

Mauro

---

<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:51pm UTC](https://techcommunity.softwareag.com/t/how-discover-adabas-file-number/80260/4 "2021-04-02T14:51:32Z")

</div>


