Hi,
I need to access shared memory from COBOL. The COBOL will be native.
As the code will be developed on Windows and deployed to Linux I need the API to be the same on both platforms.
I think that I will have to do this:
working-storage section.
01 w-data-pointer usage pointer.
linkage section.
01 l-data pic x(...).
procedure division.
call "MAP_MEMORY" using w-pointer.
set address of l-data to w-pointer.
The MAP_MEMORY routine is something I have to develop.
My question is this. Does anyone have something like MAP_MEMORY that they would be prepared to share? Does Micro Focus have any samples or demos of this sort of thing?
Thanks,
Leigh.
#COBOL