# Finding unused variables in Natural Program

**URL:** <https://techcommunity.softwareag.com/t/finding-unused-variables-in-natural-program/97265>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [May 30, 2011, 11:44am UTC](https://techcommunity.softwareag.com/t/finding-unused-variables-in-natural-program/97265 "2011-05-30T11:44:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandy15\_Sivva](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Sandy15\_Sivva](https://techcommunity.softwareag.com/u/Sandy15_Sivva)\
**Post date:** [May 30, 2011, 11:44am UTC](https://techcommunity.softwareag.com/t/finding-unused-variables-in-natural-program/97265/1 "2011-05-30T11:44:21Z")

</div>

Hi,

I have some unused variables in my program. I want to find all the unused variables in my code. Do we have any tool provided by Software AG to achieve this? Else can we achieve this using Natural Engineer? Please reply soon…

---

<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:** [May 30, 2011, 12:00pm UTC](https://techcommunity.softwareag.com/t/finding-unused-variables-in-natural-program/97265/2 "2011-05-30T12:00:53Z")

</div>

Hi Sandy,

You can use a Natural Engineer impact analysis for this. Use a Code Improvement criteria and check “Find unused dataitems in programs”.

Cheers,

Graeme

---

<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:00pm UTC](https://techcommunity.softwareag.com/t/finding-unused-variables-in-natural-program/97265/3 "2021-04-02T15:00:19Z")

</div>


