Rexx2Nrx Examples ( vs 4.00, January  2003)

The following examples are collected to give you an overview of the power and limitations of Rexx2Nrx, and how the various options may be used to adapt Rexx2Nrx to your personal needs.

Click at the 'Rexx' button first, to see the original classic Rexx program, and then on the NetRexx button, to see the translated NetRexx Program. The LOG button will show you the LOG-file of the translation, and finally the Purpose  button will contain some documentation and notes where appropriate..

Name Purpose Rexx NetRexx Log-File
qtsmall1 Show time in a verbative form ('the' example in the books of M.F.Cowlishaw, author of Rexx and NetRexx) qtsmall1.rexx qtsmall1.nrx qtsmall1.log
example2 Copy a file - and talking about efficiency of File I/O under Rexx,  Object Rexx, and Java: the reason why Rexx2Nrx & RexxFile have been developed. example2.cmd example2.nrx example2.log
v2pay A sample 'not trivial' Austrian EDIFACT application developped in IBM CMS compiled REXX and then ported to Java using Rexx2Nrx v2pay.rexx

paymul.def

edifact.rexxincl

in_edi.rexxincl

v2.def

in_v2.rexxincl

decimal.rexxincl

 

v2pay.nrx v2pay.log
testval1 using the 'symbol' and 'value' functions, and back to the roots of interpreted REXX testval1.rexx testval1.nrx testval1.log
teststem2 simple Rexx trial program to show the handling of stems and the RexxMsg routines. teststem.rexx teststem2.nrx teststem2.log
SoftPack A utility program to pack a bunch of source-files together for filetransfer to another machine (with automatic parts explosion!) SoftPack.rexx SoftPack.nrx SoftPack.log
Softunpk the companion utility to unpack the source-files again on the target machine SoftUnpk.rexx SoftUnpk.nrx SoftUnpk.log