Thanks to all who responded -I found EXIT(1) and it position the CURSOR to the 
command line - ARe there other values for RETURN(1) and EXIT(1) that are 
available ?RETURN(2) ???.What do they mean ?.thankspaul dangelo 

---------- Original Message ----------
From: Mike Shaw <[email protected]>
To: [email protected]
Subject: Re: Cursor Positioning with Rexx
Date: Fri, 23 Jan 2026 15:36:57 -0500

On Fri, Jan 23, 2026 at 2:22&#8239;PM [email protected] <[email protected]> wrote:

> <snip>-.How do I position The Cursor the Command Line in a Rexx Macro
> ?.paul dangelo
> ----------------------------------------------------------------------
>
>
Paul,

To be clear, it's an ISPF EDIT macro written in Rexx, not a Rexx macro.

The ISPF doc has this blurb in it in the documentation on CURSOR placement
by edit macros:

Note:  To position the cursor on the command line, issue a return code of 1
from the edit macro.

RETURN(1) in Rexx should do it...

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

----------------------------------------------------------------------
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

Reply via email to