# Can we pass param to Natural program

**URL:** <https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-News-and-General-Topics\
**Created:** [October 18, 2006, 2:14pm UTC](https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600 "2006-10-18T14:14:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ramesh](https://techcommunity.softwareag.com/u/Ramesh)\
**Post date:** [October 18, 2006, 2:14pm UTC](https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600/1 "2006-10-18T14:14:07Z")

</div>

Can we pass parameter value to Natural program thro JCL.If so  
give me syntax and sample jcl.

Thanks  
Ramesh

---

<div class="post-metadata">

**Author:** ![Wilfried\_B](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wilfried_b/32/83_2.png) [@Wilfried\_B](https://techcommunity.softwareag.com/u/Wilfried_B)\
**Post date:** [October 18, 2006, 10:43pm UTC](https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600/2 "2006-10-18T22:43:06Z")

</div>

I will answer with a riddle:  
How do you think data can be INPUT into a program?

If you can answer this riddle, you can answer your question yourself, else: RTFM

---

<div class="post-metadata">

**Author:** ![Ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Ramesh](https://techcommunity.softwareag.com/u/Ramesh)\
**Post date:** [October 19, 2006, 10:25am UTC](https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600/3 "2006-10-19T10:25:20Z")

</div>

The same thing we can do in cobol by passing value to program.

So I thought there might be way to do same in Natural

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [October 24, 2006, 2:48pm UTC](https://techcommunity.softwareag.com/t/can-we-pass-param-to-natural-program/61600/4 "2006-10-24T14:48:58Z")

</div>

Try it with a

```auto
PARM=('DBID=n,FNR=m,more-parms').
```

You can also use the

```auto
//CMPRMIN DD *  
DBID=n,FNR=m,more-parms
```

That’s for Natural parameters under z/OS. In general follow the second hint of Wilfried 😉  
You will find many samples in the manual.

Input data for your program are read from

```auto
//CMSYNIN DD * 
```

---

<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/can-we-pass-param-to-natural-program/61600/5 "2021-04-02T14:40:54Z")

</div>


