# 3148 : Database 3 is not active or not accessible

**URL:** <https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-Database-Interfaces-on-Open-Systems\
**Created:** [September 8, 2006, 6:06am UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392 "2006-09-08T06:06:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![papajohn](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/papajohn/32/85_2.png) [@papajohn](https://techcommunity.softwareag.com/u/papajohn)\
**Post date:** [September 8, 2006, 6:06am UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/1 "2006-09-08T06:06:02Z")

</div>

I am getting this message trying to execute a program that reads a file which only exists in one Database, 10. DDM is defined to Security, I have all the links set. Our Testing Database is TEST10, I have no clue where it is getting Database 3 from. Can someone tell me what this message means?  
We’re using Natural 4.13 and Adabas 3.3.2 on Linux.  
Thanks in advance.  
John

---

<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 8, 2006, 12:38pm UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/2 "2006-09-08T12:38:19Z")

</div>

Does the DDM specify a fixed DBID of 10, or is it set to 0 in the DDM ?

If the latter, check the UDB parameter, or, if this is 0 as well, the “dbid” of your FUSER would be substituted.

---

<div class="post-metadata">

**Author:** ![papajohn](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/papajohn/32/85_2.png) [@papajohn](https://techcommunity.softwareag.com/u/papajohn)\
**Post date:** [September 8, 2006, 11:35pm UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/3 "2006-09-08T23:35:34Z")

</div>

All of our DBID’s are set to 0 in the DDM’s  
Our FUSER is set to DBID 22  
So I need to set a DBID now (in LINUX) in our DDM’s?  
Here is what the docs says:  
"If no DBID is specified in the DDM used, the DBID specified with the UDB profile parameter determines which database is accessed. If so, the UDB profile parameter must be set to a valid DB number. "  
Where/How do I set the UDB?  
Thanks in Advance…  
John

---

<div class="post-metadata">

**Author:** ![Gyro\_Gearloose](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@Gyro\_Gearloose](https://techcommunity.softwareag.com/u/Gyro_Gearloose)\
**Post date:** [September 8, 2006, 11:41pm UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/4 "2006-09-08T23:41:33Z")

</div>

Many possibilities: Either set it dynamically in your command line (e.g. natural udb=10 …) or use natparm to set it permanently (do a search via the natparm menu search option for “udb”).

---

<div class="post-metadata">

**Author:** ![papajohn](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/papajohn/32/85_2.png) [@papajohn](https://techcommunity.softwareag.com/u/papajohn)\
**Post date:** [September 9, 2006, 12:37am UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/5 "2006-09-09T00:37:31Z")

</div>

Bingo, There it is, Duh, I swear I never set it to 3,  
Could that have been set as a default?  
Grrrrr… Thanks Gyro Gearloose…

---

<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:40pm UTC](https://techcommunity.softwareag.com/t/3148-database-3-is-not-active-or-not-accessible/61392/6 "2021-04-02T14:40:49Z")

</div>


