Hello,
I’m currently playing with the Natural Native Interface and I get a start up error.
What I am doing:
I call `nni_get_interface`, which returns successfully and then call `nni_initialize` which does not return an NNI error but a Natural startup error.
I get return code -2047 and the following output:
NATURAL V 9.3.2 Software AG 2024
Natural Startup Error: 47
Unable to read PARM_PATH entry from NATURAL.INI file
or directory is not accessible.
My working directory is `/opt/softwareag/Natural/bin`
I strongly assume that the `NATURAL.INI` file can not be found and that this is not a permission issue. When I compile the sample `sysexnni`, put that into the bin directory and run it under the same user, I get a step further.
I can not see the difference to that point from my program and the sample `sysexnni`.
Is there any environment variable or command line parameter that I can pass to set the path of the ini file?
I’ve tried to set `NAT_HOME`, `NATDIR` and `NATVERS`, but none of them helped.