×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
David,
You could store the VALUE of a pointer in a user space ... but at that
point it would just be a number ... not a pointer.
You can certainly store a pointer in a user space - I regularly store
the pointer to one user space in another user space. One reason for doing
this is to allow several jobs to access a user space in another job's QTEMP
- you have one generally accessible user space, which contains pointers to
multiple user spaces in other jobs QTEMPs. Useful for running server jobs
where a single control job needs to know what's going on with the child jobs
(there are other ways to do this, obviously). Those of you who know the
software I work on may know where I use this technique.
Anyway...
Since in some ways a pointer is a pointer is a pointer, then aside from any
possible authority-related issues, you can store any space pointer (whether
to allocated memory or to another user space) in a user space. Probably also
a procedure pointer or a system pointer.
But you can't save a pointer in a data queue entry and then send it and
expect it to still work afterwards... :-(
Rory
As an Amazon Associate we earn from qualifying purchases.