Page 1 of 1

rexx exec from ispf primary screen

PostPosted: Sat Mar 23, 2013 11:03 am
by Kiru_J
Is there anyway to execute a rexx exec in the ispf primary screen????
If so, how? Please help.....

Re: rexx exec from ispf primary screen

PostPosted: Sat Mar 23, 2013 2:16 pm
by prino
Just give the command

tso ex 'whatever.exec(whatever)'


:mrgreen:

Re: rexx exec from ispf primary screen

PostPosted: Sat Mar 23, 2013 4:57 pm
by NicC
Or, if you mean by having it as an option - yes but you have to modify the primary option panel which you may, or may not, be allowed to do.

Re: rexx exec from ispf primary screen

PostPosted: Sun Mar 31, 2013 7:42 pm
by Kiru_J
Thanks for your replies...I know how to execute a rexx exec, but i just want to execute it in a simpler form just by some option. How to add an option in the ISPF Primary option panel?

Re: rexx exec from ispf primary screen

PostPosted: Sun Mar 31, 2013 8:54 pm
by Robert Sample
How to add an option in the ISPF Primary option panel?
Talk to your site support group. It is unlikely that you have access to be able to modify the primary panel, since it is the same for everyone at your site.

Re: rexx exec from ispf primary screen

PostPosted: Sun Mar 31, 2013 9:19 pm
by enrico-sorichetti
the most unobtrusive way is to dynamically add entries to the command tables at the start of the ISPF session
the advantage is that You can enter the added commands from ANY panel

see

http://ibmmainframes.com/about56254.html

and use ctbsto to see the format to use to add entries

Re: rexx exec from ispf primary screen

PostPosted: Sun Mar 31, 2013 9:25 pm
by NicC
How to add an option in the ISPF Primary option panel?

If you do not know how to do this or go about finding out then I strongly suggest that you DO NOT ATTEMPT THIS. Note that the Primary Option Menu may be the same for everyone in your company - if you mess it up you mess it up for EVERYONE.

Re: rexx exec from ispf primary screen

PostPosted: Mon Apr 01, 2013 9:57 am
by steve-myers
NicC has a few good comments you should understand. As he points out, you do not want to replace the system's primary option menu, at least not until you have the new one working correctly.
  • Figure out the member name of your system's primary option menu, and copy it from the system data set to your PDS, which will have the same DCB attributes as the system data set where the system's primary option menu is located.
  • Insert your updates into your copy of the system's primary option menu.
  • Prepare your TSO session to use your primary option table by reallocating the data set concatenation where the system's primary option menu is located with the data set containing your primary option menu before the data set containing the system's primary option menu. You will have to do this from the TSO READY prompt.
When you have done this you can start ISPF normally. In the unlikely event your primary menu is good, you can do your testing. If it is bad, the easiest recovery is to logoff and logon again, correct the problem, and repeat the previous steps.

If you do not understand this, you have no business trying to prepare your primary option menu.

Re: rexx exec from ispf primary screen

PostPosted: Mon Apr 01, 2013 10:25 pm
by dick scherrer
Hello,

Why does anyone believe it is appropriate for you to change a resource common to many/all users?

Suggest you get formal permission from management Before you start playing with the code.

Re: rexx exec from ispf primary screen

PostPosted: Mon Apr 01, 2013 11:38 pm
by enrico-sorichetti
using the approach I suggested in my link,
never had to change a option menu

ok, it does not show in the list , but after all the TS asked just how to run it without entering TSO ... ... ...