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 

ADDRESS in rexx !!!

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


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Wed Aug 20, 2003 7:24 am    Post subject: ADDRESS in rexx !!! Reply with quote

Can anybody explain me what ADDRESS command does in REXX ?? I only know that whatever value (MVS,TSO,ISPEXEC etc) we specify after ADDRESS, our instructions are executed in that environment.

Please throw some light on this.
Back to top
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Wed Aug 20, 2003 8:38 pm    Post subject: Reply with quote

ADDRESS temporarily or permenatly (permemnant being for the duration of the Rexx program) changes the destination of commands. Rexx by default sends commands to TSO (if invoked in a TSO environment) hence you can issue TSO/E commands easily, however if you issues ADDRESS ISPEXEC (to permenantly change commands to be sent to ISPEXEC) then you would find that commands are then sent to ISPEXEC e.g. 'EXECIO ......' would not then work as expected(ADDRESS TSO 'EXECIO ....' [temporary change to command destination] would though).

As I understand it it's very similar to calling a program, thus when you use ADDRESS ISPEXEC you are calling the ISPEXEC program and passing a string to that program, it being written to then process such strings.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Thu Aug 21, 2003 4:10 am    Post subject: Reply with quote

Thanks Mike. Your explaination helped a lot.
Back to top
View user's profile Send private message
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