MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

executing REXX without the TSO command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
MVS_blob
Beginner


Joined: 23 Oct 2007
Posts: 23
Topics: 9

PostPosted: Thu Apr 10, 2008 9:51 pm    Post subject: executing REXX without the TSO command Reply with quote

Hi,

I've got a dataset:

USERID.EXEC

which has been added into my SYSEXEC concatenation.

Two members within USERID.EXEC are ED
Code:
/* REXX */
say 'hello1'
exit


and CMD
Code:
/* REXX */
say 'hello2'
exit


To execute ED, I can enter into the main ISPF screen
TSO ED
or
ED

To execute CMD, I have to enter into the main ISPF screen
TSO CMD

Command
CMD
alone won't work as I get 'Invalid option' response.

I've got other REXX executables in my dataset. However, some of them work without the TSO command. Some of them don't. Can anyone explain this discrepancy?

Ultimately, I want to be able to execute REXX executables without typing 'TSO' at the start of the command. I know its oly 3 letters, but if I can maximise efficiency, it'd be even better.

Cheers.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri Apr 11, 2008 4:58 am    Post subject: Reply with quote

I expect you will find that CMD is a TSO command and you will have to rename your exec
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
MVS_blob
Beginner


Joined: 23 Oct 2007
Posts: 23
Topics: 9

PostPosted: Fri Apr 11, 2008 8:51 am    Post subject: Reply with quote

I asked a friend of mine the question, and he replied with 'you gotta set up a ISPF COMMAND' and referred me to the ISPF COMMANDS manual.

I'll have a read and see if I can find the solution to include in this post.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Apr 11, 2008 10:06 am    Post subject: Reply with quote

or many people just set a PF key to TSO and then you enter your command (any command) and press the PF key. An enhancement to that is to set the PF key to TSO %someexec where somexec is an exec that traps the output and shows it in browse. There are lots of execs out there that do this. Mine is at http://www.sillysot.com/ftp/btso.txt
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group