The user can request link and load information about the linked load units and their contexts using the VSVI1 macro. This information can be requested for one or more specified contexts or for all contexts. Users without special privileges may access only nonprivileged contexts. Information about shared code in common memory pools is available only to users who have connected themselves to the common memory pool before calling the VSVI1 macro.
The following information can be requested:
a list of context names (SELECT=CTXLIST)
the scope of the code loaded in a context, and the scope of the associated link and load information (SELECT=CTXSIZE)
a list containing names, load addresses, lengths, types, attributes and contexts of all CSECTs, ENTRYs and COMMONs (SELECT=ALLLIST)
a list containing names, load addresses, lengths, types, attributes and contexts of all CSECTs and COMMONs (SELECT=MODLIST)
a record containing name, load address, length, type, attributes and context of a single control section (CSECT), ENTRY or COMMON (SELECT=BYNAME)
a record containing name, load address, length, type, attributes and context of a control section (CSECT) or COMMON specified by means of its address (SELECT=BYADDR).
The various items of information (name, load address, length, attribute, type and context) can be selected independently of one another. It is also possible to request merely the length of the desired output information.
The PINF macro returns global information about programs which have been loaded with the LOAD- or START-EXECUTABLE-PROGRAM (or LOAD- and START-PROGRAM) command.
The following information can be requested:
the internal program name (SELECT=INTNAME)
the internal program version (SELECT=INTVERS)
the creation date of the program (SELECT=INTDATE)
the copyright name of the program (SELECT=COPRIGHT)
the name of the library in which the program was stored (SELECT=FILENAME)
the element name of the program in the library (SELECT=ELEMNAME)
the element version (SELECT=ELEMVERS)
the element type (SELECT=ELEMTYPE)
the name specified in the load call (in LOAD- or START-EXECUTABLE-PROGRAM or LOAD- and START-PROGRAM) (SELECT=SPECNAME)
an indicator which shows whether the program was loaded by the static loader ELDE or whether it was the first module of a load unit and was loaded by DBL
(SELECT=LOADTYPE).