Planet MVS Rexx Anywhere! Rexx Anywhere! results |
OS/390 v1.2 and TSO/E 2.5 (When REXXVER was executed as a command resolved from //SYSEXEC on TSO) |
ADDRESS() returns 'TSO' VERSION: Lang(REXX370) Version(3.48) Date(01 May 1992) SOURCE: Env(TSO) source2(COMMAND) source3(REXXVER) source4(SYSEXEC) source5(?) source6(?) source7(TSO) source8(ISPF) source9(?) |
As tested by David Alcock on 26 Jan 1998 |
OS/390 v1.2 and TSO/E 2.5 (When REXXVER was executed as a command resolved from a call 'library(REXXVER)' on TSO) |
ADDRESS() returns 'TSO' VERSION: Lang(REXX370) Version(3.48) Date(01 May 1992) SOURCE: Env(TSO) source2(COMMAND) source3(REXXVER) source4(SYS00121) source5(IBMUSER.DAVE.EXEC) source6(?) source7(TSO) source8(ISPF) source9(?) |
As tested by David Alcock on 26 Jan 1998 |
OS/390 v1.2 and TSO/E 2.5 (When REXXVER was executed from batch via PGM=IRXJCL) |
ADDRESS() returns 'MVS' VERSION: Lang(REXX370) Version(3.48) Date(01 May 1992) SOURCE: Env(TSO) source2(COMMAND) source3(REXXVER) source4(SYSEXEC) source5(?) source6(REXXVER) source7(MVS) source8(MVS) source9(?) |
As tested by David Alcock on 27 Jan 1998 |
OS/390 v2.8 in OMVS shell |
ADDRESS() returns 'SH' VERSION: Lang(REXX370) Version(3.48) Date(01 May 1992) SOURCE: Env(TSO) source2(COMMAND) source3(./rexxver) source4(PATH) source5(./rexxver) source6(?) source7(SH) source8(OMVS) source9(OpenMVS) RexxVer executed on 8-May-2001 |
parse source . . . . . . . where . if where='OMVS' then |
z/OS System Rexx - F axr,rexxver |
ADDRESS() returns 'TSO' VERSION: Lang(REXX370) Version(3.48) Date(01 May 1992) SOURCE: Env(TSO) source2(COMMAND) source3(REXXVER) source4(REXXLIB) source5(?) source6(REXXVER) source7(TSO) source8(AXR) source9(?) RexxVer executed on 16-Feb-2007 |
|
OS/390 Rexx compiler 3.0 |
ADDRESS() returns 'MVS' VERSION: Lang(REXXC370) Version(3.48) Date(27 Oct 1994) SOURCE: Env(TSO) source2(COMMAND) source3(?) source4(?) source5(?) source6(?) source7(MVS) source8(MVS) source9(?) RexxVer executed on 4-Oct-2000 |
As contributed by David Alcock. It appears that you would need to look at the VERSION LANG() to see if you are executing from compiled code. |
OS/390 :: CICS
From OS/390 2.10 and CICS transaction server 1.3. |
ADDRESS() RETURNS 'REXXCICS' VERSION: LANG(REXX370) VERSION(3.48) DATE(01 May 1992) SOURCE: ENV(CICS) SOURCE2(SUBROUTINE) SOURCE3(POOL1:\USERS\A07134\REXXVER.EXEC) SOURCE4(RE XXCICS) SOURCE5(CICS/ESA) SOURCE6() SOURCE7() SOURCE8() SOURCE9() REXXVER EXECUTED ON 13-Sep-2001 |
As contributed by Jim Alves |
VM/ESA 1.1 (as an exec) |
ADDRESS() returns 'CMS' VERSION: Lang(REXX370) Version(3.46) Date(21 Aug 1991) SOURCE: Env(CMS) source2(COMMAND) source3(REXXVER) source4(EXEC) source5(A1) source6(rexxver) source7(CMS) source8() source9() |
As tested by David Alcock on 26 Jan 1998 |
VM 1.2.2 (as an exec) |
ADDRESS() returns 'CMS' VERSION: Lang(REXX370) Version(4.00) Date(01 May 1993) SOURCE: Env(CMS) source2(COMMAND) source3(REXXVER) source4(EXEC) source5(A1) source6(rexxver) source7(CMS) source8() source9() RexxVer executed on 4-Mar-1998 |
Contributed by Carl Forde |
VSE/ESA 2.3.2 |
ADDRESS() returns 'VSE' VERSION: Lang(REXX370) Version(3.48) Date(03 May 1993) SOURCE: Env(VSE) source2(COMMAND) source3(JCFTRY) source4(PROC) source5(PRD3.REXX.JCFTRY.PROC) source6(JCFTRY) source7(VSE) source8(VSE) source9(?) RexxVer executed on 8-Jun-2000 |
As contributed by John.C.Ford@HealthPartners.Com |
IBM's AIX/6000 |
ADDRESS() returns 'ksh' VERSION: Lang(REXXSAA) Version(4.00) Date(01 Nov 1993) SOURCE: Env(AIX/6000) source2(COMMAND) source3(/home/pain/bin/rexxver) source4() source5() source6() source7() source8() source9() RexxVer executed on 12-Mar-1998 |
Contributed by Leif Trdger |
Object REXX for Windows 95 (beta) |
ADDRESS() returns 'CMD' VERSION: Lang(REXXSAA) Version(6.00) Date(9 May 1996) SOURCE: Env(Windows95) source2(COMMAND) source3(C:\temp\rexxver.cmd) source4() source5() source6() source7() source8() source9() |
As tested by David Alcock on 26 Jan 1998 |
Object REXX for Linux |
ADDRESS() returns 'bash' VERSION: Lang(OBJREXX) Version(6.00) Date(13 Nov 1997) SOURCE: Env(LINUX) source2(COMMAND) source3(/download/os2/rexxver.cmd) source4() source5() source6() source7() source8() source9() RexxVer executed on 25-Nov-1998 |
Contributed by Tim Launchbury |
Object Rexx for OS/2 - OS/2 Warp V4 |
ADDRESS() returns 'CMD' VERSION: Lang(OBJREXX) Version(6.00) Date(3 Dec 1996) SOURCE: Env(OS/2) source2(COMMAND) source3(D:\rexxver.cmd) source4() source5() source6() source7() source8() source9() RexxVer executed on 4-Mar-1998 |
Contributed by Carl Forde |
OS/2 version 2.0 |
ADDRESS() returns 'CMD' VERSION: Lang(REXXSAA) Version(4.00) Date(07 Mar 1992) SOURCE: Env(OS/2) source2(COMMAND) source3(C:\shrware\REXXVER.CMD) source4() source5() source6() source7() source8() source9() |
As tested by David Alcock on 26 Jan 1998 |
OS/2 version 4.0 |
ADDRESS() returns 'CMD' VERSION: Lang(REXXSAA) Version(4.00) Date(24 Aug 1996) SOURCE: Env(OS/2) source2(COMMAND) source3(C:\TEMP\REXXVER.CMD) source4() source5() source6() source7() source8() source9() RexxVer executed on 24-Feb-1998 |
Contributed by
R.F. van der Woude who says:
"As for the date format: I use a dutch OS/2 version, with COUNTRY set to 031 (Netherlands). |
PC/DOS 7.0 |
ADDRESS() returns 'COMMAND' VERSION: Lang(REXXSAA) Version(4.00) Date(11 Nov 1994) SOURCE: Env(DOS) source2(COMMAND) source3(C:\DAVE\REXXVER.TXT) source4() source5() source6() source7() source8() source9() RexxVer executed on 19-Feb-1998 |
As tested by David Alcock |
AS/400 |
ADDRESS() returns 'COMMAND' /* the CL environment */ ADDRESS() returns 'EDIT' /* possible editor */ ADDRESS() returns '*LIBL/ABC' /* your ABC program */ VERSION: Lang(REXXSAA) Version(3.48) Date(13 June 1989) SOURCE: Env(OS/400) source2(COMMAND) source3(REXTRY) source4(QREXSRC) source5(USER1) source6() source7() source8() source9() |
As taken from the online manual
AS/400 REXX/400 Reference V4R1, SC41-5729-00, 03/15/97 15:54:00
As researched by David Alcock on 19 Feb 1998 |
NetRexx 1.02 |
ADDRESS() not available in NetRexx??? VERSION: Lang(NetRexx) Version(1.02) Date(25 Jun 1997) SOURCE: Env(Java) source2(method) source3(rexxvers.nrx) source4() source5() source6() source7() source8() source9() RexxVerN executed on Sat Feb 28 13:56:55 1998 Java System properties for executing system: java.version.....1.0.2 java.vendor......Sun Microsystems Inc. os.name..........Windows 95 os.version.......4.10 |
As tested by David Alcock |
This was tested as a GSS IMOD. |
ADDRESS() returns 'ISERVE' VERSION: Lang(REXX/CA) Version(3.92) Date(18 Oct 1995) SOURCE: Env(GSS) source2(SUBROUTINE) source3(REXXVER) source4(PROD) source5(SYS3.PROD.IMOD) source6(REXXVER) source7(ISERVE) source8(GSS) source9(? ) RexxVer executed on 25-Apr-2013 |
As tested by David Alcock on 25-Apr-2013 |
Mark Hessling's Regina REXX on Windows 95 and NT |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_0_08c) Version(4.50) Date(23 Jul 1997) SOURCE: Env(WIN32) source2(COMMAND) source3(rexxver.txt) source4(C:\WINDOWS\REGINA.EXE) source5() source6() source7() source8() source9() |
Windows 95 testing by David Alcock on 3 Feb 1998 Windows NT contribution by John Saxton on 3 Feb 1998 showed same ADDRESS() and ENV. |
Mark Hessling's Regina REXX on HP-UX 9.04 |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_0_08c) Version(4.50) Date(23 Jul 1997) SOURCE: Env(UNIX) source2(COMMAND) source3(rexxver.rex) source4(rexx) source5() source6() source7() source8() source9() SOURCE: Env(UNIX) (called from subroutine) source2(COMMAND) source3(rexxver.rex) source4(rexx) source5() source6() source7() source8() source9() RexxVer executed on 11-Feb-1998 |
Unix testing contributed by
Mark Hessling
He says all UNIX versions of Regina Rexx returns the same results. |
Mark Hessling's Regina REXX on Open-VMS |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_0_08f) Version(4.80) Date(30 Oct 1998) SOURCE: Env(VMS) source2(COMMAND) source3(DSKX:[HESSLING.REGINA-0.08F]REXXVER.REX;1) source4() source5() source6() source7() source8() source9() RexxVer executed on 12-Dec-1998 |
Contributed by Mark Hessling |
Mark Hessling's Regina REXX on EPOC32 (Psion 5/5mx/Revo etc) |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_2.3) Version(4.90) Date(25 Jun 2001) SOURCE: Env(EPOC32-MARM) source2(COMMAND) source3(C:\rexxver.rexx) source4() source5() source6() source7() source8() source9() RexxVer executed on 16-Aug-2001 |
Contributed by Mark Hessling |
Mark Hessling's Regina REXX on QNX |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_2.3) Version(4.90) Date(25 Jun 2001) SOURCE: Env(QNX) source2(COMMAND) source3(C:\rexxver.rexx) source4() source5() source6() source7() source8() source9() RexxVer executed on 16-Aug-2001 |
Contributed by Mark Hessling |
Bill N. Vlachoudis's BREXX on Windows 95 (MS/DOS prompt) |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX) Version(BY) Date(BNV R1.3 Nov 10 1997) SOURCE: Env(MSDOS) source2(COMMAND) source3(rexxver.txt) source4(*) source5(*) source6(rexxver.txt) source7(C:\WINDOWS\COMMAND.COM) source8() source9() |
As tested by David Alcock on 6 Feb 1998
Notice that the PARSE VERSION on BREXX doesn't get the same results for version() that we would expect with some of the version bleeding into the date area. |
uniREXX under Solaris 2.6 |
ADDRESS() returns 'UNIX' VERSION: Lang(REXX:Open-REXX:270:uni-REXX:ASCII:SingleThread) Version(4.00) Date(03 Nov 1997) SOURCE: Env(UNIX) source2(COMMAND) source3(/export/home/jac/rexx/rexxver.rex) source4(rexxver.rex) source5(UNIX) source6() source7() source8() source9() |
Contributed by John A Cifonelli (of "The Workstation Group, Ltd.") on 3 Feb 1998 |
REXX-imc on on FreeBSD 2.2.6 |
ADDRESS() returns 'UNIX' VERSION: Lang(REXX/imc-beta-1.6d) Version(4.00) Date(1 Aug 1996) SOURCE: Env(UNIX) source2(COMMAND) source3(/root/rexx/rexxver.exec) source4(rexxver) source5(UNIX) source6() source7() source8() source9() RexxVer executed on 6-Apr-1999 |
Contributed by Ian Smith of Nimbin, Australia |
Quercus Personal Rexx for DOS |
ADDRESS() returns 'DOS' VERSION: Lang(REXX/Personal) Version(4.00) Date(12 Mar 1992) SOURCE: Env(PCDOS) source2(COMMAND) source3(C:\JUNK\REXXVER.REX) source4() source5() source6() source7() source8() source9() |
Contributed by Stephen Ferg on 9 Feb 1998 |
Quercus Personal Rexx for Windows, 16-bit version |
ADDRESS() returns 'COMMAND' VERSION: Lang(REXX/Personal) Version(4.00) Date(16 Oct 1995) SOURCE: Env(WIN) source2(COMMAND) source3(rexxver.REX) source4() source5() source6() source7() source8() source9() RexxVer executed on 10-Feb-1998 |
Contributed by Stephen Ferg |
Quercus Personal Rexx for Windows, 32-bit version |
ADDRESS() returns 'COMMAND' VERSION: Lang(REXX/Personal) Version(4.00) Date(1 Oct 1997) SOURCE: Env(WIN) source2(COMMAND) source3(C:\test\rexxver.REX) source4() source5() source6() source7() source8() source9() RexxVer executed on 10-Feb-1998 |
Contributed by Stephen Ferg |
Enterprise Rexx (console mode program) (Beta 1.7) |
ADDRESS() returns 'COMMAND' VERSION: Lang(REXX/Enterprise) Version(4.0) Date(26 Feb 1995) SOURCE: Env(WIN) source2(COMMAND) source3(rexxver) source4() source5() source6() source7() source8() source9() RexxVer executed on 10-Feb-1998 |
Contributed by Stephen Ferg |
Enterprise Rexx for Windows (32-bit version, beta 1.7) |
ADDRESS() returns 'COMMAND' VERSION: Lang(REXX/Enterprise) Version(4.0) Date(26 Feb 1995) SOURCE: Env(WIN) source2(COMMAND) source3(rexxver) source4() source5() source6() source7() source8() source9() RexxVer executed on 13-Feb-1998 |
Contributed by Stephen Ferg |
Amiga Regina Rexx |
ADDRESS() returns 'SYSTEM' VERSION: Lang(REXX-Regina_0_08f) Version(4.75) Date(13 Sep 1998) SOURCE: Env(AMIGA) source2(COMMAND) source3(System:Transfer/REXXVER2) source4() source5() source6() source7() source8() source9() RexxVer executed on 1-Oct-1998 |
Contributed by Rudy Kohut |
Amiga ARexx |
ADDRESS() returns 'REXX' VERSION: Lang(ARexx) Version(VER) Processor(68070) Coprocessor(68881) Video Standard(PAL) Video Freq.( 50HZ) SOURCE: Type(COMMAND) results(0) called(transfer/REXXVER) resolved(System:Transfer/REXXVER) extension(REXX) host( REXX) Modified RexxVer executed on 01-Oct-1998 Modified for Amiga ARexx Compatibility |
Contributed by Rudy Kohut
Results are from a modified version of REXXVER called REXXVERA Note: In "Version", the processor result is wrong - it should read "68040", NOT "68070"; also, the "VER" attribute is not properly returned. |
VM 1.2.2 - XEDIT macro |
ADDRESS() returns 'XEDIT' VERSION: Lang(REXX370) Version(4.00) Date(01 May 1993) SOURCE: Env(CMS) source2(COMMAND) source3(REXXVER) source4(XEDIT) source5(*) source6(REXXVER) source7(XEDIT) source8() source9() RexxVer executed on 4-Mar-1998 |
Contributed by Carl Forde |
Edit Macro in SPF/PC running on Window NT workstation |
ADDRESS() returns 'ISREDIT' VERSION: Lang(REXX/2) Version(1.0.171) Date(14 Apr 1995) SOURCE: Env(WINDOWS) source2(COMMAND) source3(C:\REGINA\MYTESTS\SPFTEST.SPF) source4(spftst) source5(ISREDIT) source6() source7() source8() source9() |
Contributed by David McRitchie on 9 Feb 1998 |
EDIT macro in Tritus/SPF 1.28
under DOS (Tritus has its own REXX interpreter) |
ADDRESS() returns 'ISREDIT' VERSION: Lang(REXX:Open-REXX179) Version(4.00) Date(23 Apr 1993) SOURCE: Env(EkEhEoInIlIfFtOvVrO{UyU.YaAmIsOzUqQ) source2(COMMAND) source3(D:\TSPF12\REXXVER.SPF) source4(D:\TSPF12\REXXVER.SPF) source5(ISREDIT) source6() source7() source8() source9() |
Contributed by Gilbert Saint-flour on 10 Feb 1998 |
Edit Macro under Tritus 1.2.8 on OS/2 Warp 3 with fixpak 32 |
ADDRESS() returns 'ISREDIT' VERSION: Lang(REXXSAA) Version(4.00) Date(14 May 1997) SOURCE: Env(OS/2) source2(COMMAND) source3(D:\TSPF12\REXXVER.SPF) source4() source5() source6() source7() source8() source9() |
Contributed by Gilbert Saint-flour on 10 Feb 1998 |
Mark Hessling's THE editor |
ADDRESS() returns 'THE' VERSION: Lang(REXX-Regina_0_08f) Version(4.80) Date(30 Oct 1998) SOURCE: Env(WIN32) source2(COMMAND) source3(C:\Mark\rexxver.the) source4() source5() source6() source7() source8() source9() RexxVer executed on 12-Dec-1998 |
Contributed by
Mark Hessling
Mark says: The Env() value returns WIN32, OS/2, UNIX or DOS depending on the OS THE is running on. |
Note the inconsistency in the values for the source program returned by PARSE SOURCE in the different versions. Some interpreters under DOS and Windows return only the filename prefix. Others return filename prefix and suffix. Others return full path + filename prefix + filename suffix.
Some implementations appear to return different results, depending on the text of the command line by which they were called. All of these results sent to you below were obtained by running the REXXVER program from the current directory (the directory in which it was stored, C:\TEST), with a filename parameter of "REXXVER". Calling REXXVER from a different directory (C:\TEST\TEST) with the filename parameter of "C:\TEST\REXXVER.REX" produced different PARSE SOURCE results in Personal REXX for Windows (both 16 and 32 bit versions) and Enterprise REXX for DOS. For example
SUPERC -- IBM PC LINE COMPARE 02/10/98 09:51 I means an Inserted line, D means a deleted line. I followed by D basically means a difference. ================================================== NEW FILE = C:\TEST\TEST\RXE_D.TXT OLD FILE = C:\TEST\RXE_D.TXT I - source2(COMMAND) source3(C:\TEST\REXXVER.REX) source4() D - source2(COMMAND) source3(rexxver) source4() ================================================== NEW FILE = C:\TEST\TEST\RXP_W16.TXT OLD FILE = C:\TEST\RXP_W16.TXT I - source2(COMMAND) source3(C:\TEST\REXXVER.REX) source4() D - source2(COMMAND) source3(rexxver.REX) source4() ================================================== NEW FILE = C:\TEST\TEST\RXP_W32.TXT OLD FILE = C:\TEST\RXP_W32.TXT I - source2(COMMAND) source3(C:\TEST\REXXVER.REX) source4() D - source2(COMMAND) source3(C:\test\rexxver.REX) source4()Also, note that the results are not consistent in the case (upper, lower, mixed) of the filename.
As seen above, we are getting consistent results from most of the "PARSE VERSION" except for BREXX.
I accidentally fell on your Rexx Anywhere! page. I have coded major REXX routines that actually run on CMS, TSO, OS/2, and W95. I do it by invoking a number of cover functions that hide the environment. For instance, I have programs call REXXRDR and REXXWRTR that customise the I/O request to fit the environment. Some places give major problems so that no matter what you do the code can't be the same across platforms. First, there is UNIX, who requires the first line to have a format that is not compatible with all other implementations of REXX (i.e. #!/usr/local/rexx). Second, DOS/7 has not nearly enough system support commands to support production style queries (i.e. no sys... commands.) Mansfield REXX, if it's still available is useable, and will work with my universal code I believe.
Ultimately, I intend to set up a Web page similar to yours. In it will be a host of programs similar to the one I am attaching as an example of how I write REXX Anywhere! cover functions.
(See attached file: Rexxrdr.cmd)