| Rexx is very flexible programming language which was introduced the first time on VM/CMS as system interpreter. The style is almost like PL/1. By the time, its ability to interpret system command and pass to either CMS or CP was much better than any other programming language. Unfortunately, besides those strong points, rexx also has a number of weaknesses. Rexx only supports sequential file for I/O. All variables are internally treated as character-string, although it can calculate when their content are either C'nnnn' or C'nnnn.nnn' or C'0.nnnnE+nn' or C'0.nnnnE-nn', where n is any number code from 0 to 9. They are coverted first to number value before calculated. Of cource much slower than any other language like fortran, since rexx was not designed for computation. Rexx doesn't also support built-in mathematical functions such as sine(), cos(), tan() e.t.c. |
| Although rexx was not designed for computation, but it's OK for simple computation. For example, to estimate system workload trend "on the fly", we need to explore system performance information directly from SRM and calculate them. For such case, using rexx is much easier, if mathematical functions are supported. Here is math function supplement which was developed for VM/SP R5 in 1988 and just recoded for OS/390 in Feb 2004. |
| DRX Math Package 1.1.2 - Rexx Math Functions
for VM
The 1.1.2 is consist of 2 modules, DRXLOCFN and DRXMATFN. DRXLOCFN is package loader which automatically will load necessary module and pass control to it when rexx program execution gets error because of foreign function. DRXMATFN is mathematical functions package itself, which is contain a set of trigonometry and arithmetics functions. Since rewritten from hardcopy archive, this package has not been verified, because the author doesn't have any VM system. |
| Download The current source code of DRX MathPac 1.1.2 which consist of DRXMATFN and DRXLOCFN modules are packed into a zip file. All are in palin text format. |
| DRX Math Package 2.1.0 - Rexx Math
Functions for OS/390
The 2.1.0 was version upgrade of 1.1.2 to support MVS, TSO and ISPF Rexx on OS/390. Although it just recoded, it has been verified on OS/390. It consist of 2 major modules, DRXMATH, the main package, and IRXFLOC, the local package directory. It also accompanied by several supporting local macros. |
![]() |
Product Summary | |
| Name | DRX MathPac 2.10 (MVS) | |
| Type | Rexx Function Package for OS/390 | |
| Environment | V2.1.0 for TSO/E, ISPF and MVS of OS/390 | |
| Special | Non-sensitive, reside on linked-list (LNKLST) or link-pack area (LPA) | |
| Coding | S/390 Assembly or HLASM | |
| Author | Deru Sudibyo | |
| License | Freeware | |
| Note | Has been tested on OS/390 2.7 and 2.10. The V2.1.0 is also distributed on CBTAPE as file# 670 in TSO XMIT format. | |
| Download The current source code of DRX MathPac 2.1.0 which consist of DRXMATH and DRXFLOC modules and several supporting macros and JCLs are packed into a zip file. All are in plain text format. |