Hi,
I need some help in building BREXX. I wanted to have a look at some of the problems it has, and prepare for testing it if the new sixpack level comes out.
This is what I have done until now:
brexx source is on minidisk brexx 191
link brexx 191 202 mr
password
acc 202 j
I have put GCCLIB and PDPCLIB on RESLIB:
GLOBAL TXTLIB CMSLIB PLILIB FORTLIB TSOLIB GCCLIB PDPCLIB
GLOBAL MACLIB DMSGPI CMSHRC CMSLIB OSMACRO TSOMAC OPCODES
mkbrexx
¡
....
Compiling X2D
Loading BREXX...
Creating BREXX MODULE...
Creating BREXX TEXT for resident loading...
INPUT FILE 'MAIN TEXT J' NOT FOUND.
Ready(00028); T=108.89/131.73 22:58:05
This is correct because the .TEXT files ended up on my A disk.
If I load main test, I get errors
load main
THE FOLLOWING NAMES ARE UNDEFINED:
RXINITIA LSCPY RXRUN RXFINALI RXRETURN LCAT LREAD
More of these errors are to be found in the file BREXX MAP on the J disk. So this is where I am stuck at the moment.
I would also like to know how the interface to exec works. In z/VM, DMSREX is called by this, and it turn calls IXXRIN. I cannot find a DMSREX on V/370. I know of the conventions to choose Madnick¡¯s EXEC, EXEC2 or REXX. I assume there is no EXEC2 on VM/370 but I did not check.
A few days ago I read about plans to setup a github repository for VM/370 so we could have the latest sources and maybe an way to file issues. I would be a proponent of this. I saw that the brexx repository recently forked on github, for the version that now runs on MVS 3.8 TK4-. I have a fork of the brexx repository on rvjansen/brexx (for some pull requests I made for the macos build procedure) and I will try to keep up the cms code in there, and, for the moment, keep my CMS brexx issues, but I¡¯d rather we¡¯d move to a more central github repository which keeps all of the VM/370 sources.
I have great respect for the way the procedure works on VM, but this, and for example, SMP/E, are not really geared to modern day open source collaboration. I would love to hear if someone made the effort, I think it would be a good thing for the community.
As a start, I wiil enter these issues in my github issue list:
BREXX bugs
1) HX or HI sometimes do not work. User needs to be forced off to stop some scripts, for example the well known WHENRUBO EXEC.
2) Odd problem with file not found with STATE:
File written: REXXVERS EXEC A1
Ready; T=0.02/0.04 00:36:54
type rexxvers exec
/* REXX */
PARSE VERSION X
SAY X
Ready; T=0.01/0.01 00:37:02
rexxvers
--¡ú Cannot find the just edited and saved file
fopen error: file 'STATE REXXVERS *' not found.
Error 58 running "REXXVERSC": File not found
Ready; T=0.02/0.03 00:37:09
--¡ú copy it to another file
copyfile rexxvers exec a version exec a
Ready; T=0.01/0.01 00:37:47
version
bREXX 2.1.8 Aug 6 2010
Ready; T=0.02/0.03 00:37:52
--¡ú after the copy IT CAN FIND IT ????
rexxvers
bREXX 2.1.8 Aug 6 2010
Ready; T=0.02/0.03 00:39:50
3) Overwrite of storage
DMSABN149T 109 (HEX 00006D) DOUBLEWORDS OF SYSTEM STORAGE HAVE BEEN DESTROYED. RE-IPL CMS.
CP ENTERED; DISABLED WAIT PSW '00020000 6001F04E'
4) I/O functions flakey (LINEIN, LINEOUT) (Gerard Wassink complained recently on the Moshix Discord)
5) Leaving out arguments but then trying to use them is a recipe for dumps.
best regards,
¸é±ð²Ô¨¦.