I'd probably want to learn emacs before vi. Too bad there isn't a Linux version of TSPF.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Saturday, January 24, 2026 3:51 PM To: [email protected] <[email protected]> Subject: Re: Cursor Positioning with Rexx External Message: Use Caution On Sat, 24 Jan 2026 20:18:13 +0000, Seymour J Metz wrote: >You can't do that unless you're running under Session Manager. Use ISPF/PDF >EDIT and life will be easier. > Even vi under OMVS is better (but it doesn't have REXX macros.) But old habits die hard. >________________________________________ >From: essteam >Sent: Friday, January 23, 2026 2:22 PM > >HelloAfter searching many previous articles regarding cursor positioning Im >still not clear how to do what I want to accomplish -.Im not well versed in >Rexx -.I Have a Rexx Module which invokes TSO EDIT with a macro to modify >several symbolics in JCL -. ADDRESS ISPEXEC > "EDIT DATASET('"JclLib"') > MACRO(XCHANGE) PARM(PDSMEM)".The Edit Macro works as expected with >one exception -When the JclLib is presented to the user with its changes, the >CURSOR is positioned at the last symbolic changed -.I would like to position >the Cursor at the TSO Edit Command Line - Regardless of where the Command line >is located (top or bottom) -.I tried issuing "TOP" in the MACRO, however the >statement keeps getting flagged -.How do I position The Cursor the Command >Line in a Rexx Macro ?.paul dangelo -- gil ---------------------------------------------------------------------- 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
