Read cursor position from ISPF Panel



IBM's Command List programming language & Restructured Extended Executor

Re: Read cursor position from ISPF Panel

Postby Jeff R » Tue Dec 27, 2022 10:36 am

now you've slightly confused me...is "myrexx" the name of the REXX I'm writing ?...I've been executing it on ISPF command line via "TSO xxxx" command since the library where it resides is listed in my SYSEXEC of my PROFILE PDS.
if you're suggesting to execute the REXX this way, how is this initiated ?...by a different REXX ?
Jeff R
 
Posts: 27
Joined: Fri Dec 09, 2022 6:59 pm
Has thanked: 4 times
Been thanked: 0 time

Re: Read cursor position from ISPF Panel

Postby Pedro » Tue Dec 27, 2022 11:24 am

My suggestion:

1. continue launching in the same way.

2. in the first few lines of the myrexx, issue VGET for ZAPPLID. If the applid is not what you want, then use the SELECT I mentioned earlier and right away EXIT the program. That is, it should re-launch itself with the desired applid. The next time through, the applid will be correct and then you can execute your program logic.
Pedro Vera
User avatar
Pedro
 
Posts: 672
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 51 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post