# unload data from adabas

**URL:** <https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-Installation-and-Setup-on-Open-Systems, Natural-on-Windows-Unix\
**Created:** [September 16, 2005, 5:47pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179 "2005-09-16T17:47:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarovb](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sarovb](https://techcommunity.softwareag.com/u/sarovb)\
**Post date:** [September 16, 2005, 5:47pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/1 "2005-09-16T17:47:47Z")

</div>

Is there any way to unload adabas data to flat file using natural programs?

Please provide with examples.

---

<div class="post-metadata">

**Author:** ![anon29934956](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anon29934956](https://techcommunity.softwareag.com/u/anon29934956)\
**Post date:** [September 16, 2005, 6:01pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/2 "2005-09-16T18:01:25Z")

</div>

Please look into  
:arrow: library: SYSEXPG  
:arrow: program: WWFEX1

---

<div class="post-metadata">

**Author:** ![anon29934956](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anon29934956](https://techcommunity.softwareag.com/u/anon29934956)\
**Post date:** [September 16, 2005, 6:02pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/3 "2005-09-16T18:02:39Z")

</div>

Sorry, plase look into libaray: SYSEXRM (not SYSEXPG) :roll:

---

<div class="post-metadata">

**Author:** ![sarovb](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sarovb](https://techcommunity.softwareag.com/u/sarovb)\
**Post date:** [September 16, 2005, 6:23pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/4 "2005-09-16T18:23:59Z")

</div>

iam new to ADABAS. we are running adabas v 3.1 on Windows platforms.  
any small natural program to unload the data from adabas to flat files.  
please help me to prodive sample programs (natural or C)

---

<div class="post-metadata">

**Author:** ![anon29934956](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anon29934956](https://techcommunity.softwareag.com/u/anon29934956)\
**Post date:** [September 16, 2005, 6:31pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/5 "2005-09-16T18:31:42Z")

</div>

```auto
/* EXAMPLE 'WWFEX1': WRITE WORK FILE
/ ***************************************
DEFINE DATA LOCAL
1 EMPLOY-VIEW VIEW OF EMPLOYEES
  2 PERSONNEL-ID
  2 NAME
END-DEFINE
/ ***************************************
FIND EMPLOY-VIEW WITH CITY = 'LONDON'
 WRITE WORK FILE 1
       PERSONNEL-ID
       NAME
END-FIND
/ ***************************************
END
```

---

<div class="post-metadata">

**Author:** ![sarovb](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@sarovb](https://techcommunity.softwareag.com/u/sarovb)\
**Post date:** [September 16, 2005, 6:45pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/6 "2005-09-16T18:45:54Z")

</div>

Thanks for the program. Is it possible to speicfiy delimit option in the program ( pipe | symbol) …

example :

data should like this

Michael|germany|1110|nice guy

---

<div class="post-metadata">

**Author:** ![anon29934956](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anon29934956](https://techcommunity.softwareag.com/u/anon29934956)\
**Post date:** [September 16, 2005, 7:28pm UTC](https://techcommunity.softwareag.com/t/unload-data-from-adabas/60179/7 "2005-09-16T19:28:17Z")

</div>

Dear Sarovb,  
There are many possibilities to write data to disk. Please look into the documentation regarding:

```auto
define work file
compress
```

(When Natural on Windows is running, you may press F1 to call the help function.)  
[/list]  
[/code]

---

<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/unload-data-from-adabas/60179/8 "2021-04-02T14:40:17Z")

</div>


