How capture a mouse click using REXX?

IBM's Command List programming language & Restructured Extended Executor

Re: How capture a mouse click using REXX?

Postby Robert Sample » Sun Feb 14, 2010 9:13 pm

What do you mean "Use of 3270 is impossible"? You can access the mainframe via a 3270 session, or you can connect via telnet into a Unix System Services session. Based on what you've said so far, give up the idea of doing this. Mouse clicks can -- sometimes -- be used by a 3270 emulator, but without using a 3270 emulator there is no way for a mainframe to know the mouse button was clicked. Furthermore, you don't use ISPF (for example) without using a 3270 emulator.

Your request is not possible based on the parameters you have provided. Period.
Robert Sample
Global moderator
Posts: 3099
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 176 times

Re: Re: How capture a mouse click using REXX?


Re: How capture a mouse click using REXX?

Postby dick scherrer » Mon Feb 15, 2010 12:00 am

Hi Smita,

You're welcome :)

Use of 3270 is also impossible!!
Well, i suspect your requirement "is impossible" with vanilla code. . . I mentioned the Find exercise so you could see a word highlighted among other text in the same "field".

Typically, a field is an attrribute-byte (for terminal instructions - unprotected, protected, hi-intensity, etc) and some number of data bytes. To do what you want, this definition must be accomplished "on the fly" so that only part of the field is affected (i.e. highlighted).
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Re: How capture a mouse click using REXX?

Postby Pedro » Thu Mar 18, 2010 2:18 am

Its it not clear about what environment you are in.

If you are in the editor, use an edit macro to determine the cursor position and the contents at that position, then issue a FIND for that text.
Pedro Vera
User avatar
Posts: 536
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 34 times


Return to CLIST & REXX


  • Related topics
    Last post