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