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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoke Rexx from TSO main menu

Status
Not open for further replies.

BrembM3

Programmer
Oct 20, 2003
15
ZA
I've written a Multi- dataset editor - called it MED - now I want to invoke it from the first options menu on TSO by just typing in 'MED' on the Option line. Where do I define this?
Thks...
Please excuse the rookie question's....:)
 
Well you have (at least) 2 options. If you can update your primary options panel (usually ISR@PRIM or ISP@PRIM) you can put in something like this in;

MED,'CMD(MED) MODE(FSCR)'

this is the same as a ISPEXEC SELECT CMD(MED).

Other than that you can update your ISPCMDS table - this is a little tricky but there was a post earlier with a link to a website... I'm sure someone can help you.
 
Thanx KRdude, the systems guys here won't allow this, so I had to include MED as a User Option - bit of a pain to get to, but it works...
Thanx again...
 
Zip over to and pick up a copy of ADDCMDS. If you have your own table library, you can build a command table there and use ADDCMDS to splice it to the in-storage copy of ISPCMDS. Once you have that facility you just assign "tso addcmds" to one of your PFKeys and you're up-and-running with one keystroke.


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
In your statup profile... add this,

"ALLOC F(INDD2) DS('Your PDS REXX LIB') SHR REUSE"
"CONCAT (SYSEXEC,INDD2)"

After this just type TSO MED after that on ISPF command line or else MED on TSO. It would execute it.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top