I want to call a z/OS routine IRRSPX64 from Python.
If I use
import ctypes
zmqe = ctypes.CDLL("IRRSPX64")
print(zzmqe)
I get
Traceback (most recent call last):
File "aa.py", line 10, in <module>
zmqe = ctypes.CDLL("IRRSPX64")
File "/usr/lpp/IBM/cyp/v3r8/pyz/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: CEE3595S DLL IRRSPX64 does not contain a CELQSTRT CSECT.
This is because the stub is not a C routine.
Is there a way to call this sort ( assembler) stub?
------------------------------
Colin Paice
------------------------------