# NaturalOne 8.2 CE error message NAT0082

**URL:** <https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Adabas-Natural-Community-Edition\
**Created:** [April 2, 2013, 9:40pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746 "2013-04-02T21:40:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erasmo\_Zica](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/erasmo_zica/32/447_2.png) [@Erasmo\_Zica](https://techcommunity.softwareag.com/u/Erasmo_Zica)\
**Post date:** [April 2, 2013, 9:40pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/1 "2013-04-02T21:40:15Z")

</div>

Dear Sirs,

I installed NaturalONE CE 8.2 in my Windows 8 in the compatibility mode and it was all OK.

I created a new project MyTravel in agreement with the instructions of the Tutorial NaturalONE - How you set-up the NaturalONE project?

I followed steps below from 1 to the 24.

In the step 25, (You are now ready to run the program you wrote. In order to do so, right click MYTVLP01

and choose NaturalONE-\>Execute)

I choosed EXECUTE and I received the following message:

“NAT0082 Invalid Command or Object MYTRVLP1 do not exist in library” [b]

I would like you to inform why this message means because the object MYTRVLP1 exists in library MYTRVLIB.

(C:\Users\Erasmo\workspace824\MyTravel\Natural-Libraries\MYTRVLIB\SRC )

Please, see the PrintScreen .doc file attached.

Thanks a lot,

Erasmo Guimarães  
55(11)98950-9952(Claro) - 55(11)4198-6705(Fixo)  
[erasmo\_guimaraes@hotmail.com](mailto:erasmo_guimaraes@hotmail.com)

1. Activate the NaturalONE perspective. In the Navigator view, click the right mouse button and choose:  
New-\> Natural Project.

2. Type: „MyTravel“ in the text box labeled Project and then click the Finish button.

3. Notice that the new project you just defined appears in the Navigator view.  
Click on the ‘+’ sign to the left of: MyTravel-\>natural-runtime(n) to see the contents of the new project.

4. Notice the basic components of every NaturalONE Project that were created automatically.  
Later on in the tutorial, you will see more new components, be sure not to delete any of the basic  
components.

5. Right-Click on the ‘-’ sign to the left of: MyTravel Project  
-\>natural-runtime(n) and choose: New-\> Natural Library.

6. Type: „MYTRVLIB“ in the text box labeled Library and click the Finish button.

7. Click on the ‘+’ sign to the left of: Natural-Libraries

8. Notice the new library MYTRVLIB that you just created.  
Click on the ‘+’ sign to the left of: MYTRVLIB and notice the three folders that were created: ERR, RES and SRC.

9. In order to create a program: Right Click on SRC and choose: New-\>Program.

10. Type „MYTRVLP1“ in the box labeled Object Name and click Finish.

11. The Program MYTRLVP1 has been created and is now opened within the editor.  
Notice the remarks at the beginning of the source.  
Press Enter after the word here at the end of the line:  
/\* TODO: Enter your code here in order to insert a blank line.

12. Press Ctrl+Space to get NaturalONE’s code assist to complete the command.  
Type “DEF“ and choose DEFINE. Then press Enter.

13 Create one space after the word DEFINE and press Ctrl+Space. Then choose DATA and press Enter.

1. Repeat the same to choose Local.

2. Copy the following code on the next line following  
DEFINE DATA LOCAL:  
1 EMP VIEW OF EMPLOYEES  
2 NAME  
2 PERSONNEL-ID  
END-DEFINE

- 

READ (15) EMP BY NAME STARTING FROM ‘ADKINSON’  
DISPLAY NAME PERSONNEL-ID  
END-READ

1. You can see little red error markers to the left of your source code.  
This is because you are referencing the Employeesfile in your code.  
To resolve the reference, NaturalONE requires the existence of a DDM (Data Definition Module) in the  
same Natural Library as our program.  
We will copy that DDM from the Travel sample. For this the Travel Sample must be available.  
If the Travelproject already exists in your Navigator view, you can directly skip to step 1.19.  
If not then choose: Help Welcome.

2. Click on Samples.

3. You now see a few samples that are available:

4. Click on: Travel approval application.

5. Close the Welcome tab, by clicking on the ’x’.

6. Select/Open the project Travel.  
Then expand to: Travel-\>Natural-Libraries-\>Travel-\>SRC and locate EMPLOYEE.NSD(EMPLOYEES).

7. Copy (or Drag & Drop) EMPLOYEE.NSD to MyTravel-\>Natural-Libraries-\>SRC.

8. Click on the ‘+’ sign to the left of Travel-\>natural-runtime(n) to collapse the Travel project.

9. Save the program you just wrote by clicking on the symbol in the toolbar.

10. You are now ready to run the program you wrote. In order to do so, right click MYTVLP01  
and choose NaturalONE-\>Execute  
[Print Screen NAT0082.docx](https://techcommunity.softwareag.com/uploads/short-url/2LpP5WmfkjNjTpyzGNmZ3VIxAHG.docx) (191 KB)

---

<div class="post-metadata">

**Author:** ![Ronald\_Wijchers](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Ronald\_Wijchers](https://techcommunity.softwareag.com/u/Ronald_Wijchers)\
**Post date:** [April 3, 2013, 8:00am UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/2 "2013-04-03T08:00:26Z")

</div>

I could be wrong, since I don’t have NaturalOne here to check this and the used terms might be different, but in ‘normal’ Natural for Windows (or any other Natural I know of) you cannot EXECUTE a program if you don’t STOW it first (the STOW command will create an executable file). I didn’t see any STOW step in your list, so I assume that all you have at the moment is the saved source code but no executable yet. So you have two options, either open the program and RUN it (see menu bar RUN; this will ‘compile’ it and run) or STOW it first and then execute.

Ronald

---

<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:** [April 4, 2013, 5:46pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/3 "2013-04-04T17:46:57Z")

</div>

For ONE, SAG did not adapt Eclipse to Natural, they adapted Natural to Eclipse. That is, ONE is based on Eclipse, so things are done the Eclipse way.

Natural commands, such as STOW, CAT, UNCAT, and RUN, do not exist in ONE, because they do not exist in Eclipse. Under other platforms Natural uses these commands to create and maintain an executable for each programming object. In Eclipse you create a single executable from a collection of objects - a Project.

To create an executable for MYTRVLP1, you need to BUILD the project. Conceptually the BUILD command acts like Natural’s CATALL.

---

<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 5, 2013, 9:20am UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/4 "2013-04-05T09:20:15Z")

</div>

Hi,

More precisely, Build and update commands generate the STOW command and Upload command generate a save command.

You have the possibility to check it in the console view.

best regards

---

<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:** [April 5, 2013, 4:05pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/5 "2013-04-05T16:05:06Z")

</div>

I don’t know why I don’t see that on my console, but are you referring to Upload and Build on a Natural Server? A mainframe/LUW server would need the STOW, SAVE, etc., whereas Community Edition doesn’t allow access to a server.

---

<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 5, 2013, 4:57pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/6 "2013-04-05T16:57:26Z")

</div>

I’m using the full edition.

There are several console (…) did you open the Natural builder console ?

Please, find enclosed some screens of my test. I use the local runtime, but it’s the same for natural server (Mainframe)

Best regards  
[Doc1.doc](https://techcommunity.softwareag.com/uploads/short-url/xSEDtOgN3I6Ty5qfKOKts2pWBHJ.doc) (110 KB)

---

<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, 3:03pm UTC](https://techcommunity.softwareag.com/t/naturalone-8-2-ce-error-message-nat0082/102746/7 "2021-04-02T15:03:05Z")

</div>


