# Problems with teminate sentence

**URL:** <https://techcommunity.softwareag.com/t/problems-with-teminate-sentence/101636>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux\
**Created:** [October 22, 2012, 2:34pm UTC](https://techcommunity.softwareag.com/t/problems-with-teminate-sentence/101636 "2012-10-22T14:34:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teodoro\_Sibelo](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@Teodoro\_Sibelo](https://techcommunity.softwareag.com/u/Teodoro_Sibelo)\
**Post date:** [October 22, 2012, 2:34pm UTC](https://techcommunity.softwareag.com/t/problems-with-teminate-sentence/101636/1 "2012-10-22T14:34:39Z")

</div>

Hello  
I have a problem with the terminate sentence using Natural V 5.1.1 P1 13 for Unix.

Program in STEPLIB LIBRARY:  
TERMINATE 36 .

Script:  
#!/bin/sh  
echo “\n\>” Init

# \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

$NATBATCH parm=$NATPARM mainpr=10 etid=’ ’ \<\< FINAL \> /dev/null  
DLOGON STEPLIB  
TER36  
FI  
FIN  
FINAL  
echo “$? Return code fron Natural”

Result:

> Init  
> 0 Return code fron Natural

Then the rc 36 is lost  
Any ideas would be appreciated  
Many thanks in advance

Teo

---

<div class="post-metadata">

**Author:** ![James\_Gilpin3](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@James\_Gilpin3](https://techcommunity.softwareag.com/u/James_Gilpin3)\
**Post date:** [October 22, 2012, 3:50pm UTC](https://techcommunity.softwareag.com/t/problems-with-teminate-sentence/101636/2 "2012-10-22T15:50:34Z")

</div>

2 questions.

1. What is the value of $NATBATCH
2. What does FI do that FIN does not do? Is FI a program?

James

---

<div class="post-metadata">

**Author:** ![Teodoro\_Sibelo](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@Teodoro\_Sibelo](https://techcommunity.softwareag.com/u/Teodoro_Sibelo)\
**Post date:** [October 22, 2012, 4:24pm UTC](https://techcommunity.softwareag.com/t/problems-with-teminate-sentence/101636/3 "2012-10-22T16:24:04Z")

</div>

Hi James

$NATBATCH is natural

FI is a mistake from me, without FI the result is the same

---

<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/problems-with-teminate-sentence/101636/4 "2021-04-02T15:02:32Z")

</div>


