The callable interface works with ISPF the same way it works with any other program. However, there are a few considerations:
The callable interface must match the language of Your ISPF dialog
If your ISPF dialog is a PL/I program, for example, 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 start 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 Iistead 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.
[ Previous Page | Next Page | Contents | Index ]