REXX question



IBM's Command List programming language & Restructured Extended Executor

REXX question

Postby jibbly » Mon Feb 14, 2011 1:09 pm

Hey,

no amount of googling has seemed to help me
what i'm trying to do is either:

A. make a REXX exec that will perform the C equivalent of exec() to open a program

or

B. use a REXX call to call a C/any other language function to perform the exec()

any help in pointing me in the right direction is much appreciated

Thanks :)
jibbly
 
Posts: 8
Joined: Mon Feb 14, 2011 1:00 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX question

 

Re: REXX question

Postby expat » Mon Feb 14, 2011 2:03 pm

The CALL statement is used to invoke / execute programs from within REXX
expat
 
Posts: 402
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 4 times

Re: REXX question

Postby enrico-sorichetti » Mon Feb 14, 2011 2:06 pm

no amount of googling has seemed to help me

wouldn' t have been simpler an more productive to look at the manuals

http://publibz.boulder.ibm.com/cgi-bin/ ... s/IKJ4BK90

and meditate a bit on
REXX builtin function CALL
and
the CALL command of the host TSO environment ( Address TSO call ...
and
chapter 2.5.9 on the more sophisticated ways of executing/running MVS programs

also in IT terminology is essential for good communication and understanding...
You do not open a program, You execute/run it!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2702
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 139 times

Re: REXX question

Postby jibbly » Mon Feb 14, 2011 3:36 pm

thanks for the help ! :D
jibbly
 
Posts: 8
Joined: Mon Feb 14, 2011 1:00 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post