# work files

**URL:** <https://techcommunity.softwareag.com/t/work-files/92355>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [December 14, 2009, 1:11pm UTC](https://techcommunity.softwareag.com/t/work-files/92355 "2009-12-14T13:11:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paandians](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@paandians](https://techcommunity.softwareag.com/u/paandians)\
**Post date:** [December 14, 2009, 1:11pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/1 "2009-12-14T13:11:43Z")

</div>

Hi,  
I have 2 batch jobs and both are calling same natural program.  
both the jobs are having 3 datasets but i want to add 4th dataset in job 1 and not in job 2. Hw can I do that? Can someone help.

---

<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:** [December 14, 2009, 1:53pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/2 "2009-12-14T13:53:25Z")

</div>

How about

```auto
DEFINE WORK FILE ...
```

inside the natural program?

---

<div class="post-metadata">

**Author:** ![paandians](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@paandians](https://techcommunity.softwareag.com/u/paandians)\
**Post date:** [December 14, 2009, 2:56pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/3 "2009-12-14T14:56:53Z")

</div>

Hi Mathias, thanx for your reply.

Could you please explain how to define a WORK FILE inside a natural program.

Thanks  
Pandian

---

<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:** [December 14, 2009, 9:19pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/4 "2009-12-14T21:19:17Z")

</div>

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf/sm/definewo.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf/sm/definewo.htm)

---

<div class="post-metadata">

**Author:** ![paandians](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@paandians](https://techcommunity.softwareag.com/u/paandians)\
**Post date:** [December 28, 2009, 4:15pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/5 "2009-12-28T16:15:01Z")

</div>

Hi Matthias,

sorry for late reply.  
Thanks for sending me the link.

Regads  
Pandian

---

<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:57pm UTC](https://techcommunity.softwareag.com/t/work-files/92355/6 "2021-04-02T14:57:51Z")

</div>


