Invoking a program from a QMF procedure with logic under ISPF

If you are running QMF under ISPF, you must use the ISPF SELECT service to call your callable interface program or REXX programs from a procedure with logic. You must use the PGM keyword to tell ISPF that you are running your callable interface program as an ISPF dialog function. The syntax for this command is as follows:

ADDRESS ISPEXEC "SELECT PGM(programname)"

For REXX programs, you use the CMD keyword to tell ISPF that you are running your program as an ISPF dialog function. The syntax for this command is as follows:

ADDRESS ISPEXEC "SELECT CMD(cmdname)"

or

ADDRESS ISPEXEC "SELECT CMD(cmdname parameters)"

cmdname is the name of your callable interface or REXX program.

[ Previous Page | Next Page | Contents | Index ]