I may be missing something. Users can modify keylists, right? How does ISPF 
handle that?

From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Charles Mills <charl...@mcn.org>
Reply-To: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>
Date: Thursday, September 25, 2025 at 6:35 PM
To: "IBM-MAIN@LISTSERV.UA.EDU" <IBM-MAIN@LISTSERV.UA.EDU>
Subject: Re: Programmatic API to ISPF PF keys?

On Thu, 25 Sep 2025 21:09:00 +0000, Schmitt, Michael 
<michael.schm...@dxc.com<mailto:michael.schm...@dxc.com>> wrote:

To answer your second question:

I don't think there's a programmatic API to write and write old-style PFKeys 
either. The way I've seen it done was by changing the key's profile variables 
in the shared pool.

Since the keylist is a table, it isn't in profile variables.

Since ISRKEYS is open SHARE NOWRITE, you should be able open it again as SHARE 
NOWRITE and modify it. To make a permanent change you'd need to write it out to 
a different location.

The devil's in the details, however. I haven't tried this.

Perfect! This is a real start. Thanks.

Charles

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu<mailto: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

Reply via email to