On Sun, 5 Oct 2025 15:29:43 +0000, Robert Prins <[email protected]> wrote:
>First of all, you can invoke your code to set a new applid, like what I do >in some of my execs: > "ispexec select cmd(%"moi idsn") newappl(RAP)" As I said before, look at the panel definition because the keylist appl is usually overridden. >and disable KEYLISTs for that applid, no clue how to do that >programmatically. Since KEYLIST is an ISPF command common to all appls, it is most likely in the ISPCMDS table. TBSCAN for KEYLIST should return the KEYLIST row which contains the command that you can execute from your REXX exec. I'm not recommending KEYLIST OFF. If I remember correctly, it is for all applids within the screen. There are many drawbacks but I'll leave that up to the OP to determine if it's appropriate for his situation. >Or, but that's a rather a bit more complicated, modify the VIEW panel >on-the-fly, For implementation within a product design, I would not choose ISPEXEC LIBDEF. Since we don't know any of the OP's requirements, we would need to discuss alternatives and downsides. >You can optionally create a prepared panel and store it in a XMIT'ed or >AMATERSE'd dataset (the latter is cleaner) and expand and LIBDEF that on >the fly. Without the OP's requirements, we can't say xmit / terse is useful. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
