Page 1 of 1

REXX question

PostPosted: Mon Feb 14, 2011 1:09 pm
by jibbly
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 :)

Re: REXX question

PostPosted: Mon Feb 14, 2011 2:03 pm
by expat
The CALL statement is used to invoke / execute programs from within REXX

Re: REXX question

PostPosted: Mon Feb 14, 2011 2:06 pm
by enrico-sorichetti
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!

Re: REXX question

PostPosted: Mon Feb 14, 2011 3:36 pm
by jibbly
thanks for the help ! :D