# Switch off Syncsort for using Natural internal sort

**URL:** <https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Utilities\
**Created:** [January 7, 2013, 7:22pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035 "2013-01-07T19:22:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 7, 2013, 7:22pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/1 "2013-01-07T19:22:13Z")

</div>

We have Natural nucleus build with Syncsort option. But we do not want to use Syncsort anymore. Is it possible to switch it off and use hereinafter the Natural internal sort?

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [January 7, 2013, 11:22pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/2 "2013-01-07T23:22:10Z")

</div>

Turn it off for a specific job by specifying a dynamic Natural parameter (parameters on EXEC or within CMPRMIN):

```auto
SORT=(EXT=OFF)
```

Or turn it off permanently via the NTSORT macro:

```auto
NTSORT EXT=OFF,...
```

---

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 8, 2013, 12:32pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/3 "2013-01-08T12:32:22Z")

</div>

> [@Ralph Zbrog](#):
>
> Turn it off for a specific job by specifying a dynamic Natural parameter (parameters on EXEC or within CMPRMIN):
> 
> ```auto
> SORT=(EXT=OFF)
> ```
> 
> Or turn it off permanently via the NTSORT macro:
> 
> ```auto
> NTSORT EXT=OFF,...
> ```

Thanks Ralph for the quick response. I prefer permanent solution and have looked after NTSORT. As I see a new Natural Parameter Module has to be defined. I have read documentation but not clear how I should define, create it step by step.  
My Natural (V 6.1.1 Pl 14 Software AG 2005) runs on Solaris Unix.

---

<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 9, 2013, 4:10pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/4 "2013-01-09T16:10:10Z")

</div>

You don’t need to define a new parameter module, just use the natparm utility to modify the one you are using.

---

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 9, 2013, 4:23pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/5 "2013-01-09T16:23:56Z")

</div>

> [@Wolfgang Winter](#):
>
> You don’t need to define a new parameter module, just use the natparm utility to modify the one you are using.

The problem is that there is no any SORT, NTSORT, _SORT_ related paramter in natparm. I try SEARCH, export all parameters and check it in VI editor but nothing.

As I see natparm parameters looks like:  
[SECTIONx]  
PARAM1=YES  
PARAM2=NO  
[SECTIONx-END]

How should I define NTSORT ?

---

<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 9, 2013, 4:43pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/6 "2013-01-09T16:43:20Z")

</div>

Sorry, on OpenSystems the SORT library is linked to the nucleus, go to your  
$NATDIR/$NATVERS/bin/build directory, issue a make and don’t specify sync=yes

---

<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 9, 2013, 5:33pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/7 "2013-01-09T17:33:02Z")

</div>

Just for your information. The SORT / NTSORT are for mainframe.

---

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 11, 2013, 12:22pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/8 "2013-01-11T12:22:30Z")

</div>

> [@Mogens](#):
>
> Just for your information. The SORT / NTSORT are for mainframe.

Thank You Mogens!

---

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 11, 2013, 12:38pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/9 "2013-01-11T12:38:59Z")

</div>

> [@Wolfgang Winter](#):
>
> Sorry, on OpenSystems the SORT library is linked to the nucleus, go to your  
> $NATDIR/$NATVERS/bin/build directory, issue a make and don’t specify sync=yes

Thanks Wolfgang! So this is the only way on OpenSystems to switch off Syncsort.  
I’m not so familiar in the Natural nucleus rebuilding and for safety reason, I would like to save off (backup) the concerned or all current Natural system folders. What are would be?  
The Nucleus rebuilding will affect any Adabas components, folders?

---

<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 13, 2013, 12:00pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/10 "2013-01-13T12:00:40Z")

</div>

> [@lajos](#):
>
> I’m not so familiar in the Natural nucleus rebuilding and for safety reason, I would like to save off (backup) the concerned or all current Natural system folders. What are would be?

There is no need for a massive backup, a make natural will just build a new module named natural in $NATDIR/$NATVERS/bin/buildYou can then test that new module from this directory, when you are happy with it issue a make install which will simply copy natural to $NATDIR/$NATVERS/bin and rename the existing natural to natural.old, so if something does not work as expected you can easily rename the executable from natural.old to natural again.

> [@lajos](#):
>
> The Nucleus rebuilding will affect any Adabas components, folders?

No

---

<div class="post-metadata">

**Author:** ![lajos](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lajos](https://techcommunity.softwareag.com/u/lajos)\
**Post date:** [January 15, 2013, 5:25pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/11 "2013-01-15T17:25:46Z")

</div>

> [@Wolfgang Winter](#):
>
> > [@lajos](#):
> >
> > I’m not so familiar in the Natural nucleus rebuilding and for safety reason, I would like to save off (backup) the concerned or all current Natural system folders. What are would be?
> 
> There is no need for a massive backup, a make natural will just build a new module named natural in $NATDIR/$NATVERS/bin/buildYou can then test that new module from this directory, when you are happy with it issue a make install which will simply copy natural to $NATDIR/$NATVERS/bin and rename the existing natural to natural.old, so if something does not work as expected you can easily rename the executable from natural.old to natural again.
> 
> > [@lajos](#):
> >
> > The Nucleus rebuilding will affect any Adabas components, folders?
> 
> No

I managed to do it! Wolfgang special thank you, but the rest I learned a lot as well. Best regards!

---

<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:02pm UTC](https://techcommunity.softwareag.com/t/switch-off-syncsort-for-using-natural-internal-sort/102035/12 "2021-04-02T15:02:44Z")

</div>


