Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command similar to START needed

Status
Not open for further replies.

dpaynter

Programmer
Jul 24, 2005
4
US
I have written a REXX exec that opens an edit session for a COBOL copybook found on the same line as the cursor. This doesn't allow me to toggle back and forth between the copybook and the original program. I'm wondering if there is an ISPEXEC command that would issue the equivalent of a START. Is there a command to do this? What books or online references would you recommend I look in to find such a command?

I am using the code below to edit a copy of the COBOL copybook.

ADDRESS ISPEXEC
"LMINIT DATAID(IDVAR) DDNAME("CPYFILE")"
"EDIT DATAID("IDVAR")"

Any help would be appreciated. Thanks

Dan
 
The SELECT service will attach a new subtask. Can you start your new edit session in a popup window? If you make it almost full size, it might do what you want.
 
Thanks for the direction Stevexff. In case anyone else is interested, here's the syntax that worked.

ADDRESS ISPEXEC "SELECT PGM(ISPSTRT) PARM("MY_REXX_EXEC")"

Thanks

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top