# PE numeric fields

**URL:** <https://techcommunity.softwareag.com/t/pe-numeric-fields/238748>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [February 9, 2021, 1:54pm UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748 "2021-02-09T13:54:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![venessec](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@venessec](https://techcommunity.softwareag.com/u/venessec)\
**Post date:** [February 9, 2021, 1:54pm UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748/1 "2021-02-09T13:54:16Z")

</div>

Good day

We have to change a numeric field in a PE from N9.2 to N11.2. The view to this file is in a LDA, and is used by many programs.

We will have to store amounts larger than N9.2.

Do we need to change the LDA field to N11.2 and stow all the programs or can we only change the file?

I did some testing and it seems as if we change the file to N11.2 and just stow the LDA without changing the field in the LDA to N11.2 then all the program using the LDA works and displays values larger than N9.2.  
This does not make sense to me.  
Any advice or explanation will be appreciated.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [February 9, 2021, 4:36pm UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748/2 "2021-02-09T16:36:07Z")

</div>

Did you update the DDM that the LDA view uses? Is there an explicit format/length specified in the LDA or does it pick up the length from the DDM?

---

<div class="post-metadata">

**Author:** ![venessec](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@venessec](https://techcommunity.softwareag.com/u/venessec)\
**Post date:** [February 10, 2021, 11:22am UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748/3 "2021-02-10T11:22:06Z")

</div>

yes the DDM was updated and the Fields were explicitly formatted in the LDA  
so DDM said N11.2 and LDA said N9.2

---

<div class="post-metadata">

**Author:** ![Anton\_Britz](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/anton_britz/32/123_2.png) [@Anton\_Britz](https://techcommunity.softwareag.com/u/Anton_Britz)\
**Post date:** [February 12, 2021, 1:12am UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748/4 "2021-02-12T01:12:32Z")

</div>

Venesse,

If you did not change the LDA and you are using Structured mode, it’s actually impossible for the Natural Program to display a numeric field larger than N9.2.

If you changed the DDM and not the Database, program in reporting mode would use the larger value but afaik, in structured mode, the fields in your LDA will limit the size of the numeric field.

Which version of Natural are you using and on which platform and I assume, you are talking about Software AG’s Natural ?

---

<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 13, 2021, 1:13am UTC](https://techcommunity.softwareag.com/t/pe-numeric-fields/238748/5 "2021-05-13T01:13:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
