× 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.



The handles and corresponding data are stored in the associated space
of the pgm.  You can pretty easily deduce the structure with a little
reverse engineering: by calling the API judiciously against a test pgm
and looking at the effect in the associated space (using DMPOBJ or
SST).

You could then write a system-state MI pgm (or a HLL pgm with embedded
MI instructions) that resolves a system pointer to the pgm (with RSLVSP)
and sets a space pointer from that (with SETSPPFP) -- the space pointer
would then address the associated space.  You could write MI code to run
through the list of handles (to answer your 2nd question), or alter the
structure as you wish (to handle your 1st question).

--Dave


On Monday 17 November 2003 16:04, jamesl@xxxxxxxxxxx wrote:
> Officially, at least, once a data handle has been established in an
> associated space (using QCLSPGAS), there's no way to get rid of it. What
> about unofficially?
>
> Also, something else that, at least officially, isn't supposed to exist:
> is there a way to get a list of all the data handles in an associated
> space?
>
> --
> JHHL


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.