# Using Natural Scan on linux

**URL:** <https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Utilities\
**Created:** [June 29, 2015, 9:26am UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541 "2015-06-29T09:26:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [June 29, 2015, 9:26am UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/1 "2015-06-29T09:26:22Z")

</div>

Hi,

Is there a way to use “SCAN” on bash script?  
If yes, can post me an example, please.  
Can other Natural utilites can be used in script such as “sysmain”?

With Regards,  
Hezi

---

<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:** [June 29, 2015, 4:36pm UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/2 "2015-06-29T16:36:08Z")

</div>

Unix utilities such as grep and find.

For Natural utilities, in your script you provide parameters to CMSYNIN, just as you did on the mainframe.

---

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [June 30, 2015, 6:37am UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/3 "2015-06-30T06:37:28Z")

</div>

I refferd to SCAN in natural, to run in in a script

---

<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:** [June 30, 2015, 6:51pm UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/4 "2015-06-30T18:51:33Z")

</div>

> [@Hezi](#):
>
> Is there a way to use “SCAN” on bash script?

It was the word “on” that confused me. Sorry.

Looking at the documentation of System Commands, one sees: SCAN “This command is not executable in batch mode.”

---

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [July 1, 2015, 8:05am UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/5 "2015-07-01T08:05:30Z")

</div>

Hi,  
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:** [April 2, 2021, 3:33pm UTC](https://techcommunity.softwareag.com/t/using-natural-scan-on-linux/182541/6 "2021-04-02T15:33:41Z")

</div>


