Example

This example invokes the LMQUERY service to provide information about the ISPF library associated with the data ID in variable DDVAR. The data ID is created by using the LMINIT service with an ISPF library name. They use these variables:
PRJV
Highest-level qualifier of the libraries.
GRP1V, GRP2V, GRP3V, and GRP4V
Second-level qualifiers of the libraries.
TYPEV
Third-level qualifier of the libraries.