# Unload adabas files with userviews

**URL:** <https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Natural-Predict\
**Created:** [May 24, 2024, 12:59pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119 "2024-05-24T12:59:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![graeme.kirby](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@graeme.kirby](https://techcommunity.softwareag.com/u/graeme.kirby)\
**Post date:** [May 24, 2024, 12:59pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119/1 "2024-05-24T12:59:48Z")

</div>

I have a list of Predict Adabas files I need to unload but both Extract build and unload object type do not add the associated Userviews. Is there a way to do this or a way identify all the Userviews of an Adabas file to add to my list?

---

<div class="post-metadata">

**Author:** ![Craig\_Soehnlin1](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@Craig\_Soehnlin1](https://techcommunity.softwareag.com/u/Craig_Soehnlin1)\
**Post date:** [May 24, 2024, 1:35pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119/2 "2024-05-24T13:35:58Z")

</div>

Graeme,

According to the documentation, the keyword ALL can take the value “U” to indicate you want the userviews (if there are files being unloaded). If you haven’t tried this already, I would give it go and see what happens.

Craig Soehnlin

---

<div class="post-metadata">

**Author:** ![graeme.kirby](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@graeme.kirby](https://techcommunity.softwareag.com/u/graeme.kirby)\
**Post date:** [May 24, 2024, 3:02pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119/3 "2024-05-24T15:02:46Z")

</div>

Brilliant, thanks. Deciphering the manuals is an art form. I wrapped my list in unload commands and got the data I needed. I guess Extracts are not much use for large lists.

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [May 24, 2024, 9:39pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119/4 "2024-05-24T21:39:54Z")

</div>

Natural’s Object Handler can unload all views of a specific file number.

```auto
UNLOAD * LIB library OBJTYPE D DDMFNR xxx WHERE TRANSFER

```

For Windows/Linux:

```auto
UNLOAD * LIB library OBJTYPE N NATTYPE V DDMFNR xxx WHERE TRANSFER

```

---

<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 20, 2024, 9:40pm UTC](https://techcommunity.softwareag.com/t/unload-adabas-files-with-userviews/296119/5 "2024-11-20T21:40:50Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
