On 3/22/2016 2:11 PM, Nathan Andelin wrote:

Can you share the mechanism you've chosen for sharing memory between two
jobs?


We use RPG wrappers around system APIs. I thought I would just share a
Knowledge Center reference to the APIs, but it appears that IBM's
documentation has not been carried forward to 7.1 and 7.2 releases. You can
find some information at 5.4.

http://www.ibm.com/support/knowledgecenter/ssw_i5_54/apis/unix3a3.htm?lang=en

For the archives:
Shared memory APIs
shmat() - Attach Shared Memory Segment to Current Process
shmctl() - Perform Shared Memory Control Operations
shmdt() - Detach Shared Memory Segment from Calling Process
shmget() - Get ID of Shared Memory Segment with Key

Thanks Nathan!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.