View previous topic :: View next topic
|
Author |
Message |
rackshit
New User
Joined: 19 Dec 2009 Posts: 16 Location: Mumbai
|
|
|
|
Hi,
i wanted to know the difference between TSO, ISPEXEC and ISREDIT. i came accross this confusion when i was trying to understand the use of ADDRESS instruction of REXX.
while using ADDRESS, the destination can be any of TSO, ISPEXEC or ISREDIT. So wanted to know the difference between them. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Well there are also constructs like :
ADDRESS MVS
ADDRESS NETVIEW
Want to know those differences too? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Pretty easy, actually.
First of all, all of these would require that your REXX exec run within a TSO/E address space. In addition, for ISPEXEC, you need to also have an ISPF session started. And for ISREDIT, an ISPF Edit or View Session has to be active.
Address TSO is, well, TSO. This would be the default anyway. This allows you to use TSO commands in your exec.
Address ISPEXEC is for ISPF Services. This would be used in any ISPF dialog execs you might create.
Address ISREDIT is for use in an ISPF Edit Macro. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
The REXX language has powerful grouping and logic constructs, and many built-in functions. But it needs help to do I/O and other system things.
One of the strengths of REXX is that you can extend it (more or less) to invoke functions of other products. One way that you do that is by indicating which command processor will handle particular commands, through the use of the ADDRESS statement.
Depending on the work you want to perform, you will want to route some commands to TSO and others to ISPF. If you route a TSO command to ISPF or an ISPF command to TSO, you will get an error.
In addition to the ones already listed, I think there are also others, including TCPIP, IPCS, DB2, IMS operator, z/OS console, Unix services, etc... Plus you can write your own, or buy vendor products with their own host command environments. |
|
Back to top |
|
|
rackshit
New User
Joined: 19 Dec 2009 Posts: 16 Location: Mumbai
|
|
|
|
thnx PeterHolland, Superk, Enrico-sorichetti and Pedro; i got a fair idea about my confusion.
btw nice phrase : clear as the light on a sunny day |
|
Back to top |
|
|
|