Read cursor position from ISPF Panel

IBM's Command List programming language & Restructured Extended Executor
Jeff R
Posts: 27
Joined: Fri Dec 09, 2022 6:59 pm
Skillset: CA-7, JCL, SORT, Roscoe, TSO, REXX
Referer: just found you on the Internet

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 ?

User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

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


  • Similar Topics
    Replies
    Views
    Last post