# NAT0243 for PARAMETER USING ... BY VALUE

**URL:** <https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [November 7, 2008, 3:39pm UTC](https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430 "2008-11-07T15:39:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrik\_Hermansen1](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@Henrik\_Hermansen1](https://techcommunity.softwareag.com/u/Henrik_Hermansen1)\
**Post date:** [November 7, 2008, 3:39pm UTC](https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430/1 "2008-11-07T15:39:31Z")

</div>

Since the upgrade from NAT243 to NAT424 we cannot stow a subprogram that contains PARAMETER USING XXXX BY VALUE RESULT. We receive error message “NAT0243 Syntax error in DEFINE DATA statement/structure”.

Has the syntax been tightened? Must BY VALUE be moved inside the PDA? There is nothing about it in Release Notes.

Regards, Henrik

---

<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 12, 2008, 3:42pm UTC](https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430/2 "2008-11-12T15:42:58Z")

</div>

> [@Henrik Hermansen](#):
>
> PARAMETER USING XXXX BY VALUE RESULT.

And this worked? :shock:  
I’ve never seen this syntax before (OK, I’m not on a Mainframe)

---

<div class="post-metadata">

**Author:** ![Henrik\_Hermansen1](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@Henrik\_Hermansen1](https://techcommunity.softwareag.com/u/Henrik_Hermansen1)\
**Post date:** [November 14, 2008, 5:06pm UTC](https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430/3 "2008-11-14T17:06:57Z")

</div>

Yes it worked. But it turned out to be an undocumented feature which was “fixed” in 4.1.4 I think. The solution is to set BY VALUE field by field in the PDA instead of having it on the PARAMETER USING statement.

---

<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:51pm UTC](https://techcommunity.softwareag.com/t/nat0243-for-parameter-using-by-value/79430/4 "2021-04-02T14:51:07Z")

</div>


