# work container file

**URL:** <https://techcommunity.softwareag.com/t/work-container-file/58146>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Linux, Adabas-Utilities-on-Open-Systems, Adabas-Natural-Cloud\
**Created:** [October 11, 2006, 8:07pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146 "2006-10-11T20:07:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea](https://techcommunity.softwareag.com/u/Andrea)\
**Post date:** [October 11, 2006, 8:07pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/1 "2006-10-11T20:07:01Z")

</div>

I was thrown back into Adabas administration after years of being away from it and many things have changed since I did it. This may be a basic administration question, but I don’t remember what to do in this case.

We may have lost the drive that has our Work container on it. The sys admins are currently trying to recover the drive. Since the database won’t start up without it, how do I go about recovering this container?

Thank you.

---

<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:** [October 11, 2006, 9:50pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/2 "2006-10-11T21:50:41Z")

</div>

You don’t need to recover WORK, just format a new one with ADAFRM.

---

<div class="post-metadata">

**Author:** ![Andrea](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea](https://techcommunity.softwareag.com/u/Andrea)\
**Post date:** [October 12, 2006, 7:01pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/3 "2006-10-12T19:01:43Z")

</div>

Do I name it different than the original one or do I give it a new name? For expample, WORK01 was the name of the original container. Do I name it WORK01 (since that one no longer exists) or name it WORK02 or does it matter? I thought the WORK containers were specific to the database. If so, won’t it be looking for WORK01 when I start up the database?

Thank you.

---

<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:** [October 12, 2006, 7:27pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/4 "2006-10-12T19:27:01Z")

</div>

You are free to choose a name 😉

Assuming we are talking about some \*IX flavor, in $ADADIR/dbnnn/assign.bsh you will find the assignment of WORK1= to the actual physical container file name.

---

<div class="post-metadata">

**Author:** ![Andrea](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea](https://techcommunity.softwareag.com/u/Andrea)\
**Post date:** [October 12, 2006, 8:59pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/5 "2006-10-12T20:59:15Z")

</div>

I tried to format a new WORK container and got the following error:

%ADAFRM-E-MISSPAR, missing mandatory parameter ASSOSIZE  
%ADAFRM-E-MISSPAR, missing mandatory parameter DATASIZE

According to the book, I have to format the Associator and Data containers as well. The only container I need is the WORK. And, yes we are using HPUX. I see that you can remove and add containers using adadbm. Is that an option since I don’t need the Associator and Data containers?

Thank you.

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [October 12, 2006, 9:11pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/6 "2006-10-12T21:11:54Z")

</div>

> [@Andrea](#):
>
> %ADAFRM-E-MISSPAR, missing mandatory parameter ASSOSIZE  
> %ADAFRM-E-MISSPAR, missing mandatory parameter DATASIZE

Could you please post the adafrm-command you’ve entered?

Just a wild guess: Try to unset the ASSO/DATA environment variables before executing ADAFRM…

---

<div class="post-metadata">

**Author:** ![Andrea](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea](https://techcommunity.softwareag.com/u/Andrea)\
**Post date:** [October 12, 2006, 9:22pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/7 "2006-10-12T21:22:56Z")

</div>

Here is the command I used.

%ADAFRM-I-STARTED, 12-OCT-2006 14:20:31, Version 3.2.2.19 (HP-UX 32bit)  
adafrm: db=200  
adafrm: worksize =(700m), workblocksize = 8k  
adafrm:  
%ADAFRM-E-MISSPAR, missing mandatory parameter ASSOSIZE  
%ADAFRM-E-MISSPAR, missing mandatory parameter DATASIZE  
adafrm:

The ASSO/DATA environment variables aren’t set.

Thanks.

---

<div class="post-metadata">

**Author:** ![Andrea](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea](https://techcommunity.softwareag.com/u/Andrea)\
**Post date:** [October 13, 2006, 2:02am UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/8 "2006-10-13T02:02:34Z")

</div>

The sysadmins finally got the drive restored and we were able to bring the database back up. Thank you for all your help. I really appreciate 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:** [October 13, 2006, 3:36am UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/9 "2006-10-13T03:36:45Z")

</div>

Glad to hear you are back up.

The solution would have been to just format a mini ASSO / DATA as well, but throw it away afterwards and just use the newly formatted WORK dataset.

---

<div class="post-metadata">

**Author:** ![Peter\_Dowson](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Peter\_Dowson](https://techcommunity.softwareag.com/u/Peter_Dowson)\
**Post date:** [October 20, 2006, 3:30pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/10 "2006-10-20T15:30:44Z")

</div>

Just for reference you can create a new work file by formating a new TEMP file (this doesn’t need ASSO and DATA) and then renaming it to your WORK file afterwards

Peter

---

<div class="post-metadata">

**Author:** ![Peter\_Dowson](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Peter\_Dowson](https://techcommunity.softwareag.com/u/Peter_Dowson)\
**Post date:** [October 20, 2006, 3:31pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/11 "2006-10-20T15:31:07Z")

</div>

Just for reference you can create a new work file by formating a new TEMP file (this doesn’t need ASSO and DATA) and then renaming it to your WORK file afterwards

Peter

---

<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:39pm UTC](https://techcommunity.softwareag.com/t/work-container-file/58146/12 "2021-04-02T14:39:04Z")

</div>


