# Rehost NATURAL / ADABAS from mainframes to Windows / UNIX

**URL:** <https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-Installation-and-Setup-on-Open-Systems, Natural-on-Windows-Unix\
**Created:** [October 30, 2013, 8:10am UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186 "2013-10-30T08:10:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas5](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@vikas5](https://techcommunity.softwareag.com/u/vikas5)\
**Post date:** [October 30, 2013, 8:10am UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186/1 "2013-10-30T08:10:32Z")

</div>

Dear Experts,

I want to rehost a meduim size application built primarily on NATURAL / ADABAS from mainframes to Windows / Unix.

I have the following questions:

1. Do we have a standard tool available from SOFTWARE AG to acheive the same?
2. What things we must consider / be careful about for this migration?
3. Any tips and directions to proceed?
4. We also make use of JCL’s. Any replacement available for the same on Windows / Unix?

With best regards,  
Vikas

---

<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:** [October 30, 2013, 8:23am UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186/2 "2013-10-30T08:23:48Z")

</div>

This is a substantial undertaking - a huge topic. I suggest you search the Forum archives, as all your questions have already been answered. Then you can fill in the missing bits by asking specific questions that can be more easily answered (i.e. briefly).

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [October 30, 2013, 12:38pm UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186/3 "2013-10-30T12:38:31Z")

</div>

Arguably the most important part of Ralph’s post are the first five words:

“This is a substantial undertaking”

Take this to heart. Your project is not just a matter of copying files and recompiling Natural code.

You will be traveling along a path (EBCDIC to ASCII) loaded with traps for the unwary. Make sure you understand all pertinent implications.

For example, in the existing code there might be code like:

FOR #LOOP = 1 TO #LENGTH  
IF #ARRAY (#LOOP) = H’40’  
:::::  
ELSE  
::::  
END-IF

Clearly the program must treat blanks (H’40’ on mainframe) different than other characters. BUT, a blank is H’20’ on a PC. You would be okay if the IF said = ’ ’ since the blank would be treated properly on both platforms. However, through the years, there has been lots of such tests that are platform specific. You had better find them.

Pay careful attention to anycode that involves “sorting”. This includes logical READs, FINDs with a SORTED BY clause, SORT loops, IF statements, EXAMINES, ad nauseum.

Just for the fun of it, here is an excerpt from Wikpedia:

“ EBCDIC: /eb´s@·dik/, /eb´see`dik/, /eb´k@·dik/, n.

[abbreviation, Extended Binary Coded Decimal Interchange Code] An alleged character set used on IBM dinosaurs. It exists in at least six mutually incompatible versions, all featuring such delights as non-contiguous letter sequences and the absence of several ASCII punctuation characters fairly important for modern computer languages (exactly which characters are absent varies according to which version of EBCDIC you’re looking at). IBM adapted EBCDIC from punched card code in the early 1960s and promulgated it as a customer-control tactic (see connector conspiracy), spurning the already established ASCII standard. Today, IBM claims to be an open-systems company, but IBM’s own description of the EBCDIC variants and how to convert between them is still internally classified top-secret, burn-before-reading. Hackers blanch at the very name of EBCDIC and consider it a manifestation of purest evil.”

Another popular complaint is that the EBCDIC alphabetic characters follow a punched card encoding convention rather than a linear ordering like ASCII. One consequence of this is that incrementing the character code for “I” does not produce the code for “J”, and likewise there is a gap between the codes for “R” and “S”.

An I was a twelve (high) punch and a nine punch; a J was an eleven punch and a one punch.

These incompatibilities were also the source of many jokes. One such joke went:

```
Professor: "So the American government went to IBM to come up with an encryption standard, and they came up with—"
Student: "EBCDIC!" 

```

Have fun, and be VERY careful. Do a lot more testing than you probably think would be necessary.

---

<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:** [November 5, 2013, 3:25pm UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186/4 "2013-11-05T15:25:13Z")

</div>

> **[Migration from BS2000 to Linux](https://techcommunity.softwareag.com/techjforum/posts/list/7116.page)**
>
> Hi There, do you have some hints what i have to think about if i want to migrate my Natural 3.1.2 Programms from BS2000 to Natural on Linux. I think things like Hexvalue inits and so on (EBCDIC vs. ASCII is only at Hexinits a Problem i think). Over...

> **[Porting Mainframe Natural/Adabas application to Unix/Windows](https://techcommunity.softwareag.com/techjforum/posts/list/7388.page)**
>
> A customer wants to downsize the Mainframe Natural/Adabas application and port it to Unix/Windows. Currently the Natural/Adabas applications are running on CICS in mainframe. Now when we port the application to Unix / Windows, will the Online...

> **[Major Upgrade... Mainframe 2.2.8 to Unix 6.1.1](https://techcommunity.softwareag.com/techjforum/posts/list/7123.page)**
>
> Hi All, New to these boards and just starting a new project where we are planning to move our very old Mainframe system to a very new Unix system. We didnt really have the choice of the versions we were going to, just told that this it. I am...

> **[Natural/ADABAS migration from Mainframe to HP-Unix](https://techcommunity.softwareag.com/techjforum/posts/list/7255.page)**
>
> Hi, We are checking the feasibility of migrating Natural application and ADABAS data from Mainframe to HP-Unix. I assume there are lot of tools and vendors who does this service. I am interested in knowing the changes required to be done like...

---

<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:29pm UTC](https://techcommunity.softwareag.com/t/rehost-natural-adabas-from-mainframes-to-windows-unix/173186/5 "2021-04-02T15:29:44Z")

</div>


