On 22.06.2025 03:45, Jon Perryman wrote:
On Fri, 20 Jun 2025 10:41:14 +0000, Seymour J Metz <sme...@gmu.edu> wrote:

Nonsense. IBM created OREXX for OS/2 and m$ windows;
ooRexx is the open source version that replaced it and is not limited to 
Unix-like systems.
The builtin classes are highly useful outside on *ix.
Again, wasting my time with a wrong answer. Do some research and at least 
understand basic REXX design before telling me I'm wrong.

By design, REXX simplifies complex environments like TSO, CICS, IMS and others. 
Customizing REXX environments is fairly simple and well documented. REXX has no 
problem with 8 screens each running REXX.

OOREXX implemented global variables & objects using a daemon (think z/OS STC). 
No problem for simple environments like Unix, Linux, Windows and others. On other 
hand, those 8 ISPF screens and their subtask must somehow manage 8 distinct global 
variables. TSO REXX solved this by foregoing globals and running the REXX entirely 
within a single TCB.

I've never found any doc for defining environments within OOREXX. OOREXX design 
is the compatibility challenge that requires OOREXX changes.

You can consult the documentation coming with the ooRexx documentation book "rexxapi.pdf", section "1.16. Command Handler Interface" (this is the powerful native API of ooRexx), but also sections "2.4. Subcommand Interface" (SAA) and "2.6. Registered System Exit Interface" (SAA).

---

If you use the ooRexx-Java bridge (BSF4ooRexx) then you can implement Rexx command handlers simply in Java (really not difficult). As a practical tool BSF4ooRexx comes with a 2D geometric command handler named JDOR ("Java2D for ooRexx", cf. <https://wi.wu.ac.at/rgf/diplomarbeiten/>, select "JDOR" in the keyword list in the top center to get to "JBusinessChart - Providing Charts to ooRexx" or "BSF4ooRexx850 JDOR: Java 2D Drawing for ooRexx"). The JDOR command overview and documentation can be fetched from <https://wi.wu.ac.at/rgf/rexx/misc/jdor_doc.tmp/jdor_doc.html> (the Rexx sample at the top which creates the shown image is easy to read and to understand, however, if you were to create such a "simple" image on your own it would be much more laborous if not impossible for practical reasons.)

BTW, as BSF4ooRexx is a fully bi-directional language binding it can be used to create Rexx command handlers even in - ooRexx (without any Java skills) ! :)

---rony

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to