The z/OS® XL C/C++ compiler's support of the Query Management Facility (QMF) interface, a query and report writing facility, enables you to write applications through the SAA callable interface. You can create applications to perform a variety of tasks such as data entry, query building, administration aids, and report analysis.
The z/OS XL C++ compiler itself does not support QMF™. However, QMF can be accessed through C code that is statically or dynamically called from C++.
You must include the header file DSQCOMMC.H (provided with the QMF application), which contains the function and structure definitions necessary to use the QMF interface.
http://www.ibm.com/software/data/qmf/library.html