rexx exec from ispf primary screen



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

rexx exec from ispf primary screen

Postby Kiru_J » Sat Mar 23, 2013 11:03 am

Is there anyway to execute a rexx exec in the ispf primary screen????
If so, how? Please help.....
Kiru_J
 
Posts: 4
Joined: Sun Mar 17, 2013 7:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: rexx exec from ispf primary screen

 

Re: rexx exec from ispf primary screen

Postby prino » Sat Mar 23, 2013 2:16 pm

Just give the command

tso ex 'whatever.exec(whatever)'


:mrgreen:
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: rexx exec from ispf primary screen

Postby NicC » Sat Mar 23, 2013 4:57 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: rexx exec from ispf primary screen

Postby Kiru_J » Sun Mar 31, 2013 7:42 pm

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?
Kiru_J
 
Posts: 4
Joined: Sun Mar 17, 2013 7:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: rexx exec from ispf primary screen

Postby Robert Sample » Sun Mar 31, 2013 8:54 pm

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: rexx exec from ispf primary screen

Postby enrico-sorichetti » Sun Mar 31, 2013 9:19 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: rexx exec from ispf primary screen

Postby NicC » Sun Mar 31, 2013 9:25 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: rexx exec from ispf primary screen

Postby steve-myers » Mon Apr 01, 2013 9:57 am

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: rexx exec from ispf primary screen

Postby dick scherrer » Mon Apr 01, 2013 10:25 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: rexx exec from ispf primary screen

Postby enrico-sorichetti » Mon Apr 01, 2013 11:38 pm

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 ... ... ...
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post