View previous topic :: View next topic |
Author |
Message |
MVS_blob Beginner
Joined: 23 Oct 2007 Posts: 23 Topics: 9
|
Posted: Thu Apr 10, 2008 9:51 pm Post subject: executing REXX without the TSO command |
|
|
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 |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Fri Apr 11, 2008 4:58 am Post subject: |
|
|
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 |
|
 |
MVS_blob Beginner
Joined: 23 Oct 2007 Posts: 23 Topics: 9
|
Posted: Fri Apr 11, 2008 8:51 am Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Apr 11, 2008 10:06 am Post subject: |
|
|
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 |
|
 |
|
|