HP OpenVMS Systems

ask the wizard
Content starts here

Determining Shareable Image Mapping at Run-Time?

» close window

The Question is:

 
Is there a way a proram can find out which shareable images it is running and
 at what addresses they are loaded.  Sort of equivalent to DEBUG "SHOW IMAGE"
 command but internal to the program.
 
I would be interested in VAX or ALPHA, but ALPHA is of greate importance.
 


The Answer is :

 
  Please use lib$signal( SS$_DEBUG, ... ), and pass in the desired
  commands.  Please see the OpenVMS FAQ for an example of using the
  SS$_DEBUG signal.
 
  If you wish to load images at run-time, please see the OpenVMS
  lib$find_image_symbol call.  Please see the OpenVMS FAQ for pointers
  to discussions of using shareable images.  Please see topics here
  for information and examples of using lib$find_image_symbol, as well.
 
  As mentioned explicitly in the prolog to asking a question of the
  OpenVMS Wizards -- for questions of great importance, please contact
  the support center directly.
 

answer written or last revised on ( 10-MAR-2003 )

» close window