View previous topic :: View next topic
|
Author |
Message |
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
Hi,
Can anyone help me in passing the text at the cursor position as input to the REXX program?
i.e. I would type the REXX pgm name in the command line and then move the cursor to the required position. This pgm should get the text at the cursor as input and run.. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
It depends:
If you are in ISPF editor, you use edit-macro commands like CURSOR, LINE etc.
If you are not in editor, you can use the ZSCREEN* system variables. You can find example here.
O. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
If you are looking to code this as an ISPF EDIT Macro, then you might want to look at the ZOOM command for a good example. The ZOOM command is not a part of standard ISPF, but many shops have it installed anyway. If you don't have it available, the source code is posted on the Internet. |
|
Back to top |
|
|
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
Thanks ofer71. |
|
Back to top |
|
|
|