# Stowing programs outside the Editor. Working with work Files

**URL:** <https://techcommunity.softwareag.com/t/stowing-programs-outside-the-editor-working-with-work-files/61650>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux\
**Created:** [October 31, 2006, 7:47pm UTC](https://techcommunity.softwareag.com/t/stowing-programs-outside-the-editor-working-with-work-files/61650 "2006-10-31T19:47:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmmanuelOga](https://avatars.discourse-cdn.com/v4/letter/e/ecae2f/32.png) [@EmmanuelOga](https://techcommunity.softwareag.com/u/EmmanuelOga)\
**Post date:** [October 31, 2006, 7:47pm UTC](https://techcommunity.softwareag.com/t/stowing-programs-outside-the-editor-working-with-work-files/61650/1 "2006-10-31T19:47:31Z")

</div>

Hello, I’m using Natural V 6.1.1 Pl 15 on Linux. (i have made this post to the open source but i think is better to put it here).I know this is long post, so if you want to answer only one of my questions, I would be very happy 🙂

I had this idea of creating Natural programs from outside the editor to do simple tasks as reading some Adabas fields. Simple as:

000090 1 PRO\_TABLES VIEW OF PRO\_TABLES  
000100 2 COMP  
000110 2 TAB\_NO  
000120 2 TAB\_KEY  
000130 2 TAB\_DATA(1:1)  
000140 END-DEFINE  
000360 READ PRO\_TABLES BY TAB\_SUP1 EQ ‘X124’  
000410 WRITE WORK FILE 1 TAB\_NO ‘,’ TAB\_KEY ‘,’ TAB\_DATA(\*)  
000430 END-READ

Let say i generate that source as ‘read.nsp’. then i want to call something like:

natural parm=PRODIS bp=nat31 etid=$i “stack=(logon PRODIS;READ;FIN)”

[b]1) I need a way to save the file under Natural database and stow it programmaticaly, can it be achieved?

1. Is there any way to save the workfile under other name? how can i change the file output without messing with the Natural configuration?

2. Is there a way to output to the stdout without having those “MORE” prompts? Then, i could capture the stdout without having to store all my data on disk.

3. Is there a way of READING a file that has not the name of a workfile?

4. Is there any Natural language construct that could let me store data (as in a linked list) whitout having to store it on disk? If this could be done, it would be very helpfull.[/b]

Thank you very much!

---

<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/stowing-programs-outside-the-editor-working-with-work-files/61650/2 "2021-04-02T14:40:55Z")

</div>


