|
From: Hall, Philip <phall@spss.com> > > SETSPPFP (for a *USRSPC) also works at all security levels. > > 1) RSLVSP to object (type x1934) > > 2) SETSPPFP to objects associated space (where the data is) > > Using the API in RPG is less lines of code ;-) sure. Here is a funny quote from the API docs: The Retrieve Pointer to User Space (QUSPTRUS) API retrieves a pointer to the contents of a user-domain user space. The data in that user space then can be directly manipulated by high-level language programs that support pointers, such as C or COBOL. > > But, neither this method, or the API, however will get you a pointer to a > system domain USRSPC, so be careful where the QUSCRTUS creates it - depends > upon the QALWUSRDMN system value.
As an Amazon Associate we earn from qualifying purchases.
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.