With the EDIT command, you can modify QMF queries and procedures with an editor. One of these editors can be ISPF/PDF (provided that QMF is started under ISPF).