# How can I “import” a Local that was created in mainframe to Natural One.

**URL:** <https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Adabas-Natural-Community-Edition\
**Created:** [June 27, 2014, 8:56pm UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133 "2014-06-27T20:56:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcos\_Oliveira](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Marcos\_Oliveira](https://techcommunity.softwareag.com/u/Marcos_Oliveira)\
**Post date:** [June 27, 2014, 8:56pm UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133/1 "2014-06-27T20:56:10Z")

</div>

Actually we are evaluating Natural One via a try version, but your Natural objects were developed with mainframe.

How can I “import” a Local that was created in mainframe to Natural One.

I have tried to use a list of Locals obtained from mainframe, but Natural One didn’t like his tagged format.

Please help me.

---

<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:** [June 30, 2014, 11:07am UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133/2 "2014-06-30T11:07:59Z")

</div>

Hi,

If you have no possibility to open natural objects from view “Natural server” of NaturalONE with the try version, you have the possibility to use USR4201N user exit from SYSEXT library to convert internal data structure.

Best regards  
Bernard

---

<div class="post-metadata">

**Author:** ![Marcos\_Oliveira](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Marcos\_Oliveira](https://techcommunity.softwareag.com/u/Marcos_Oliveira)\
**Post date:** [July 1, 2014, 5:26pm UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133/3 "2014-07-01T17:26:10Z")

</div>

Hi Bernard, first of all, thanks for your help. How can I run USR4201N? Is it necessary to set up something in Natural One?

Sorry, but I am totally new to this matter.

Thanks.

---

<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:** [July 4, 2014, 2:46pm UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133/4 "2014-07-04T14:46:04Z")

</div>

Hi,

I will just explain you how you can Import one local data from mainframe to NaturalONE. If you have many locals to import, of course, you have to adapt these simple steps in batch mode.

On mainframe, logon to SYSEXT library.  
Then, execute USR4201P program and complete the following data:

## Process Data Area Sources:

Function (R/W) … R  
Format (D/L) … D  
Data Area Name … your local name  
Library … your library name  
DBID … 0\_\_\_\_\_  
FNR … 0\_\_\_\_\_  
Adabas Password … \_\_\_\_\_\_\_\_  
Adabas Cipher Code … \_\_\_\_\_\_\_\_  
Natural Object Type … L  
Write-Error Mode … E  
DBID of FSEC … 0\_\_\_\_\_  
FNR of FSEC … 0\_\_\_\_\_  
Password of FSEC … \_\_\_\_\_\_\_\_  
Cipher Code of FSEC … 0\_\_\_\_\_\_\_\_

Then data structure is generated in your work area.

Enter ‘Edit’ command.  
Select the generated code and then copy/past into NaturalONE.

I hope this will help you to test NaturalONE.

Best regards … and Good luck to the Brazilian team and ALLEZ LA FRANCE 😛

Bernard

---

<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:31pm UTC](https://techcommunity.softwareag.com/t/how-can-i-import-a-local-that-was-created-in-mainframe-to-natural-one/177133/5 "2021-04-02T15:31:25Z")

</div>


