# calling a cobol program from natural on Unix

**URL:** <https://techcommunity.softwareag.com/t/calling-a-cobol-program-from-natural-on-unix/61163>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Code-Samples\
**Created:** [June 24, 2006, 12:37am UTC](https://techcommunity.softwareag.com/t/calling-a-cobol-program-from-natural-on-unix/61163 "2006-06-24T00:37:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@Frank](https://techcommunity.softwareag.com/u/Frank)\
**Post date:** [June 24, 2006, 12:37am UTC](https://techcommunity.softwareag.com/t/calling-a-cobol-program-from-natural-on-unix/61163/1 "2006-06-24T00:37:13Z")

</div>

Hello,

mainframe migration from mainframe to unix AIX.  
We call a lot of cobol program from Natural. With Natural unix, it seems we have to create a shared library.  
However, all samples provided by SAG are for C programs, and not easy to “translate”. I understood we have to give additional definition (natuser.h in C), change the call, …

Can someone tell me how to do it and give a little sample ?

Thanks a lot.  
Frank

---

<div class="post-metadata">

**Author:** ![Patje](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@Patje](https://techcommunity.softwareag.com/u/Patje)\
**Post date:** [March 13, 2008, 12:38am UTC](https://techcommunity.softwareag.com/t/calling-a-cobol-program-from-natural-on-unix/61163/2 "2008-03-13T00:38:55Z")

</div>

Hi Frank,

Do you have any info concerning your issue?

Best regards

Patrick

---

<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/calling-a-cobol-program-from-natural-on-unix/61163/3 "2021-04-02T14:40:43Z")

</div>


