NetRexx Examples (Running ooRexx Scripts from NetRexx)
Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can
use the free and open-source editor "[g]vim"
, which is available for practically
all platforms and can be downloaded from its homepage at
http://www.vim.org/.
- . <directory> (List of this directory)
- Display all of this directory's files and directories.
- .. <directory> (List of parent directory)
- Display all of the parent directory's files and directories.
- nrxRunRexx_01.nrx
- Defines and runs a Rexx program.
The compiled Java class is stored in "nrxRunRexx_01.class".
- nrxRunRexx_02.nrx
- Preloads the Rexx interpreter, defines and runs a Rexx program.
The compiled Java class is stored in "nrxRunRexx_02.class".
- nrxRunRexx_03.nrx
- Defines and runs a Rexx program, that returns an ooRexx directory, which then is
used from NetRexx (Java).
The compiled Java class is stored in "nrxRunRexx_03.class".
- nrxRunRexx_04.nrx
- Defines and runs a Rexx program, that contains a syntax error, which then is
intercepted and inspected by NetRexx (Java).
The compiled Java class is stored in "nrxRunRexx_04.class".
- rgf_01_runRexx.nrx
- Shows the output of
parse source
and parse version
from
Rexx and NetRexx.
The compiled Java class is stored in "rgf_01_runRexx.class".
- rgf_02_runRexxArg.nrx
- Supplying an argument from NetRexx to a Rexx program.
The compiled Java class is stored in "rgf_02_runRexxArg.class".
- rgf_03_runRexxGetReturnValue.nrx
- Supplying an argument from NetRexx to a Rexx program, retrieving a Rexx return
value in NetRexx.
The compiled Java class is stored in "rgf_03_runRexxGetReturnValue.class".
- rgf_04_runRexxGetReturnValue.nrx
- NetRexx uses Rexx to query the
PATH
environment variable.
The compiled Java class is stored in "rgf_04_runRexxGetReturnValue.class".
- rgf_05_runRexxEnvironment.nrx
- NetRexx uses Rexx to query and set an environment variable called
RexxLA
.
The compiled Java class is stored in "rgf_05_runRexxEnvironment.class".
Rony G. Flatscher, 2011-01-15, Wien/Vienna, Austria, Europe