Adapya-adabas: cannot load 'adalnx' while trying to execute dblist.py

Hi,

I’m going to learn Adabas Direct Calls in C.

Actually, as I did not find any free resources for C/C++ programmers,
I decided to start with Python API.

I downloaded Adabas for Docker, started it and checked, that it runs.

Then I downloaded and installed adapya-base and adapya-adabas from GitHub.

Finally, according to documentation, I tried to start ‘dblist.py’.

However, an error occurred, please see my screenshot below (it is windows10):

c:\Python38\Lib\site-packages\adapya\adabas\scripts>python dblist.py -d 10
Running Python Version 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)]
on platform win32, 64 bit, byteorder=little
“adalnkx” could not be loaded: check that Adabas Client Library (ACL) directory is in path
Traceback (most recent call last):
File “dblist.py”, line 49, in
from adapya.adabas.api import Adabas, Adabasx, archit2str, adaSetParameter
File “C:\Python38\lib\site-packages\adapya\adabas\api.py”, line 52, in
adalink=ctypes.cdll.LoadLibrary(adalname)
File “C:\Python38\lib\ctypes_init_.py”, line 451, in LoadLibrary
return self.dlltype(name)
File "C:\Python38\lib\ctypes_init
.py", line 373, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module ‘adalnkx’ (or one of its dependencies). Try using the full path with constructor syntax.

Apparently Python complains about missing ‘adalnkx’ , which , I guess, is a runtime DLL for Adabas connectivity?

Could you please help me resolving this issue?

Thank you very much is advance.

Regards,
Piotr Kozaczewski

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.