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 

Run a Unix shell script from a REXX program in Mainframes

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


Joined: 02 Feb 2005
Posts: 20
Topics: 11

PostPosted: Fri Apr 11, 2008 8:48 am    Post subject: Run a Unix shell script from a REXX program in Mainframes Reply with quote

How do you run a Unix shell script from a REXX program in Mainframes?
_________________
tp
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Apr 11, 2008 9:33 am    Post subject: Reply with quote

For an exec running in a TSO address space, I usually do a call to AOPBATCH the same way I do in a batch job:

"CALL *(AOPBATCH) unix-command"
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:00 am    Post subject: Reply with quote

I usually use a combination of syscalls an bpxwunix depending on if there is a builtin syscall command. See this edit macro to find regular expressions as an example of using both.
_________________
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