IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

difference between TSO, ISPEXEC and ISREDIT


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rackshit

New User


Joined: 19 Dec 2009
Posts: 16
Location: Mumbai

PostPosted: Tue Mar 15, 2011 7:36 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 15, 2011 7:42 pm
Reply with quote

Well there are also constructs like :

ADDRESS MVS
ADDRESS NETVIEW

Want to know those differences too?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 15, 2011 7:47 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 15, 2011 7:49 pm
Reply with quote

Everything is explained

for the Address construnct
z/OS V1R2.0-V1R10.0 TSO/E REXX User's Guide
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C310/CCONTENTS?SHELF=IKJ4BK90&DN=SA22-7791-01&DT=20010706113306

and
z/OS V1R8.0-V1R10.0 TSO/E REXX Reference
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A370/CCONTENTS?SHELF=IKJ4BK90&DN=SA22-7790-07&DT=20060626210253

meditate on what is meant by HOST COMMAND ENVIRONMENT and everything will become clear as the light on a sunny day

furthermore
for the TSO environment
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IKJ4BK90

for the ISPEXEC and ISREDIT environments
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IKJ4BK90

( not the latest releases but more than enough to understand )
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Mar 15, 2011 11:37 pm
Reply with quote

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
View user's profile Send private message
rackshit

New User


Joined: 19 Dec 2009
Posts: 16
Location: Mumbai

PostPosted: Tue Mar 15, 2011 11:47 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Same command as on commandline in REX... TSO/ISPF 6
No new posts Difference between VALIDPROC and CHEC... DB2 3
Search our Forums:

Back to Top