# problem with decimal character

**URL:** <https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition, Natural-on-Windows-Unix\
**Created:** [January 15, 2016, 10:47am UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262 "2016-01-15T10:47:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Harasimiuk](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/piotr_harasimiuk/32/1163_2.png) [@Piotr\_Harasimiuk](https://techcommunity.softwareag.com/u/Piotr_Harasimiuk)\
**Post date:** [January 15, 2016, 10:47am UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/1 "2016-01-15T10:47:41Z")

</div>

I have a lot of natural programms developed long ago on the mainframe system.  
Now J try to use Natural One 8.3.4 in Software AG Designer 9.7 for writing and compiling.  
But there is problem with data definition like that:  
1 MY-NUMBER (N1,7)   
Using “,” as decimal delimeter cause NAT0165 after checking.  
J was try to change (DC) in Window-\>Preferences-\>Natural-\>Regional Settings - but this not working.

The same problem on Natural for Windows solved by changing (DC) in Natura Sessions Parameters.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [January 15, 2016, 1:32pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/2 "2016-01-15T13:32:55Z")

</div>

Please check the following parameters; IA, ID, CF and HI. None of these can be the same as DC.

---

<div class="post-metadata">

**Author:** ![Piotr\_Harasimiuk](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/piotr_harasimiuk/32/1163_2.png) [@Piotr\_Harasimiuk](https://techcommunity.softwareag.com/u/Piotr_Harasimiuk)\
**Post date:** [January 15, 2016, 2:03pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/3 "2016-01-15T14:03:57Z")

</div>

> [@Steve Robinson](#):
>
> Please check the following parameters; IA, ID, CF and HI. None of these can be the same as DC.

My parameters:  
CF is %  
DC is ,  
IA is =  
ID is .  
THSEPCH is .  
By default “.” = “,”. I change this.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [January 15, 2016, 2:41pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/4 "2016-01-15T14:41:52Z")

</div>

Do you have a GLOBALS command that overrides DC ?

---

<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:** [January 15, 2016, 3:09pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/5 "2016-01-15T15:09:00Z")

</div>

Hello,

If you have create your project before your general changes (Window-\>Preferences-\>Natural-\>Regional Settings), you have to change DC parameter at the project level in your workspace (rigth clic - Properties-\>Natural-\>Regional Settings).

Best regards  
Bernard

---

<div class="post-metadata">

**Author:** ![Piotr\_Harasimiuk](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/piotr_harasimiuk/32/1163_2.png) [@Piotr\_Harasimiuk](https://techcommunity.softwareag.com/u/Piotr_Harasimiuk)\
**Post date:** [January 25, 2016, 2:27pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/6 "2016-01-25T14:27:24Z")

</div>

Hi

J found the solution.  
My Natural working on Linux server and J map this enviroment from Natural windows client.  
So I had to change DC option in NATPARM on Linux server not in windows client.

---

<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:35pm UTC](https://techcommunity.softwareag.com/t/problem-with-decimal-character/186262/7 "2021-04-02T15:35:09Z")

</div>


