Considerations for the callable interface:
The callable interface must match the language of your ISPF dialog
If your ISPF dialog is a PL/I program, you must use the QMF callable interface for PL/I.
You must use the correct language identifier
You must start your ISPF application with an ID of DSQn, where n is a National Language Feature (NLF) identifier. This application ID prevents QMF from overriding your ISPF environment, such as the function key settings and labels. To begin the application that starts QMF, use the following ISPF statement:
SELECT PGM(MYPROG) NEWAPPL(DSQn)
where n is the NLF identifier. The PL/I program MYPROG then starts QMF using the callable interface START command.
The ID DSQn ensures that the ISPF environment remains intact even after QMF is started.
For a list of NLF identifiers, see Table 7.
Use GET GLOBAL or SET GLOBAL instead of the STATE command
The GET GLOBAL and SET GLOBAL commands work for all the QMF global variables; the STATE command works only for variables containing state information. See tables of these variables in Appendix E. QMF global variable tables.