My concern is macros where I do not want the inserted macro to run until XEDIT updates the screen and the user hits ENTER. LPREFIX is appropriate on the command line.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Phil Smith III <[email protected]> Sent: Thursday, August 14, 2025 9:59 AM To: [email protected] <[email protected]> Subject: Re: pending edit line commands WAS: CBT Usermod Collection for ISPF (CUCI) V2R1 RELEASED! External Message: Use Caution Actually, not necessarily. I (and I suspect you--fingers trained over 40+ years!) have perhaps been conflating SET PENDING and LPREFIX. SET PENDING ON DD (the "ON" is required) would set the DD *but not execute it until you hit ENTER*; LPREFIX DD both sets and executes it. And "lprefix" can be abbreviated down to "lp", so what I really meant was: /banana/lp dd But yeah, delete is dangerous. How about: /banana/lp mm as a more likely scenario? I do that all the time. Note that if that did turn out to be wrong, "lp /" will be effectively a no-op ("put a slash in the current line's prefix area and execute that, making it...the current line") but will clear the MM. I'd also use something like the above when I can see the target line on the screen but cursor is on commandline, so it's easier to type the LOCATE and the "lp " than to mouse/cursor to the line and type the MM. YMMV depending on your typing ability (and mine is degrading with my hands as I age, alas). For OP: Sorry for topic drift; XEDIT is fun stuff! So rich that after 40+ years we're still discussing ways to use native commands... -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Seymour J Metz Sent: Wednesday, August 13, 2025 10:46 PM To: [email protected] Subject: Re: pending edit line commands WAS: CBT Usermod Collection for ISPF (CUCI) V2R1 RELEASED! That should work, but it has a high whoops factor. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
