To deal with PF keys, ISPF panels have the .PFKEY variable (notice period) that contains the PF key pressed. You could use this variable in the panel )PROC IF statement or simply copy it a variable passed to the program. As for the command line variable (typically zcmd), you can ignore it, clear it or verify it has the PF key text without any user input. At some point, you may want user input with the PF key. If the PF key is assigned to a command in the ISPF command table, then you will need to deal with that. Possibly change the PF key assignments, build PF key table specific to this application or create a command table specific to this application and use passthru as Skip mentioned. Jon. On Friday, August 23, 2019, 06:30:02 AM PDT, John Baker <jba...@ngssallc.com> wrote: When using the ISPF "DISPLAY" service, I want my program to process the PF key without having a command associated with the PFKEY.
How do I tell ISPF to simply return to my program and let me do the processing? John P. Baker ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN