Re: BREXX
It first showed up in MVS/ESA.
Dave Wade wrote:
>
> Gregg,
>
> To be honest I have no idea when REXX came to MVS. I understand that
> the first people to get it were some brave souls who had licenses for
> VM and built the VM REXX under MVS. Having never looked at the REXX
> source code I have no idea how feasible this is. From some quick
> research it would appear from here:-
>
> http://www-306.ibm.com/software/awdtools/rexx/library/rexxtso.html
>
> that it was with TSO/E V2, so with MVS/XA and MVS/ESA. From browsing
> the vmshare archives it would appear that it took IBM around 18 months
> to deliver this. There is also an interesting article in the IBM
> Systems Journal on how REXX was implemented in MVS. Got to:-
>
> http://domino.research.ibm.com/tchjr/journalindex.nsf/Home?OpenForm
>
> and search for REXX.
>
> As for the code, well it is pretty much portable, and required minimal
> tweaks to get it working under CMS, so given a usable “C” compiler and
> run-time it should run on MVS. Some of the things I have fixed such as
> making the function names all unique in the first 8 characters (this
> uses #defines so is portable going forward), and getting it to work
> with the EBCDIC collating sequence may also be useful in the MVS
> environment. Other things such as using the CMS stack and the CMS
> specific interfaces will be less than useful.
>
> On the down side BREXX is ANSI REXX not the “special” mainframe subset
> and so is missing many of the features that are required to back port
> REXX programs from later versions of MVS and VM. In particular there
> is no EXECIO, files are read and written using the standard REXX file
> i/o paradigms.
>
> I don’t know enough about MVS to say if it would work with GCC on MVS
> but I know that it does need two things which as far as I know are
> missing from the current MVS version of GCC. That is dynamic file
> allocation and a system() call. In VM the system() call is fairly easy
> to provide, it being an SVC202. I don’t know what the equivalent in
> MVS is (XCTL perhaps) but I know its not in GCCMVS. I then used this
> to fudge dynamic allocation by issuing the CMS “FILEDEF” command to
> create the necessary DCBs on the fly. I am pretty sure this breaks
> many VM rules but it seems to work!.
>
> I expect that these shortcoming are not present the DIGNUS Systems/C
> compiler and it would probably be pretty easy to build it using that
> tool. Trouble is that you couldn’t then distribute it as I don’t
> believe that the Dignus run-time library is re-distributable.
>
> Dave.
>
> -----Original Message-----
> *From:* turnkey-mvs@...
> [mailto:turnkey-mvs@...] *On Behalf Of *Gregg C Levine
> *Sent:* 01 June 2008 16:24
> *To:* turnkey-mvs@...
> *Subject:* RE: [turnkey-mvs] BREXX
>
> Hello!
> Dave, isn't regular REXX part of the basic MVS3.8J kit? Or was this
> something that surfaced well after MVS started its upward climb towards
> OS/390, and of course Z/OS?
>
> Ideally if there's a C compiler included amongst the other languages that
> MVS3.8J does have as part of the available options, it might be
> possible to
> build the BREXX thing from its source code. Of course that presupposes
> being
> able to upload the entire collection of things to MVS3.8J without any
> problems, and then setup the build environment appropriately.
> --
> Gregg C Levine hansolofalcon@...
> <mailto:hansolofalcon%40worldnet.att.net>
> "The Force will be with you always." Obi-Wan Kenobi
>
> -----Original Message-----
> From: turnkey-mvs@...
> <mailto:turnkey-mvs%40yahoogroups.com>
> [mailto:turnkey-mvs@...
> <mailto:turnkey-mvs%40yahoogroups.com>] On
> Behalf Of Dave Wade
> Sent: Sunday, June 01, 2008 10:22 AM
> To: turnkey-mvs@... <mailto:turnkey-mvs%40yahoogroups.com>
> Subject: RE: [turnkey-mvs] BREXX
>
> I don’t think its currently available any where. The problem was that
> Jason
> withdrew his JCC compiler after a dispute over copyright of the run time
> library. When he did this he removed the whole web site, so the extras
> which
> included the TCPIP instruction, JCC and some other tools were also
> withdrawn. You can get the VM version from the H390-VM group files
> section,
> but it won’t build with GCC on MVS because that will only open files via a
> DSN and its missing a SYSTEM() command…
>
> -----Original Message-----
> From: turnkey-mvs@...
> <mailto:turnkey-mvs%40yahoogroups.com>
> [mailto:turnkey-mvs@...
> <mailto:turnkey-mvs%40yahoogroups.com>] On
> Behalf Of amrith_100_k
> Sent: 01 June 2008 12:06
> To: turnkey-mvs@... <mailto:turnkey-mvs%40yahoogroups.com>
> Subject: [turnkey-mvs] BREXX
>
> Can some one tell me where i get BREXX for MVS 3.8j.
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/turnkey-mvs/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/turnkey-mvs/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:turnkey-mvs-digest@...
mailto:turnkey-mvs-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
turnkey-mvs-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/