Jay Moseley MVS 3.8j sysgen automation. Contribute to MVS-sysgen/sysgen development by creating an account on GitHub.

48 points•emersonrsantos•2 days ago•27 comments•

27 comments

rbanffy2 days ago
This is really solid work. A lot of z/OS concepts were already present in MVS, and this is one of the few OSs you can run on a mainframe without an IBM license.
usr11062 days ago
So what fun stuff could you do with this?

I was a trainee in IBM labs in 1987 and I remember my colleagues not being that proud of MVS. Called it pretty old stuff. VM/CVS was considered more interesting for hackers. And I don't think anybody would like to trade that in for Linux today.

Talking about developing something, not running banking batch jobs.

xxpor2 days ago
>And I don't think anybody would like to trade that in for Linux today.

Disagree. They're a bit orthogonal, but I'd argue that IBM was _way_ ahead of their time with VM. It took 20+ years for x86 to catch up, and now the vast majority of x86 cpu cycles run VMs! The model eventually won with the cloud.

If x86 had been designed from the ground up to support VMs, it'd likely end up looking more like PowerVM, with the hypervisor baked directly into the firmware, and native secure DMA between a VM hosting the emulated devices and the workload VMs (cf. PowerVM and VIOS). A lot of people run Linux for KVM or HyperV, but if Power systems had been cheaper I think it had a lot of potential. Not exactly the S370 stuff you were probably working with, but close enough.

rbanffy2 days ago
Well... This MVS comes with an HTTP server. I'm not really sure how it works, or how to make it useful, but, still, it's kind of cool. It also has FTP, so moving files to the emulated machine is a lot less inconvenient than via a 3270 session.

As for CP/CMS, not so long ago I made this:

https://rbanffy.github.io/fun-with-big-computers/fun-with-vm...

I really need to play more with MVS so I can write one for it. The big thing is that CMS is a single-user operating system, and MVS is multi-user, multi-tasking, with lots of functionality for examining its workloads. This version, which comes with all the nice add-ons from Tk5-, is much more comfortable than bare MVS was. The same applies to VM/370 CE, which is a lot nicer than bare VM/370 R6 (which is REALY bare.

pjmlp2 days ago
Yeah, all mainframe and micro OSes are full of cool technologies, many still to be widely adopted, and thanks to AI overlords probably never will.
twoodfin2 days ago
So what’s the lineage of this? A modern packaging of free-as-in-beer IBM code?
JdeBP2 days ago
Ah, the joy of Hacker News posts that point to GitHub repositories instead of an actual project home page!

You can get to https://jaymoseley.com/hercules/index.html from the repository, but it's buried under reams of other stuff in the doco, and you have to go via https://jaymoseley.com/hercules/installMVS/iMVSintroV8.htm .

Those two answer your questions as well as the What the Hell even is this? question from people who are sent straight into a set of Docker instructions.

twoodfin2 days ago
Thanks. Any background on how this particular OS has been “deemed to be in the public domain”?

It looks more like IBM licensed / authorized it for public distribution.

bananamogul2 days ago
I wish someone would do the work to make MVS 3.8j a proper 32-bit OS.

Admittedly, I have no idea what I would actually do with it.

emersonrsantos2 days ago
There's the 31-bit https://mvs380.sourceforge.net/ - not 32-bit because of IBM XA original architecture.

Although the CPU is 32-bit, 31-bit was chosen for compatibility with legacy 24-bit, being the most significant (missing) bit the mode/control flag.

tliltocatl2 days ago
AFAIK, there's no MVS sources available (only assembler output by PL/S compiler).
minipci13212 days ago
Are there still the original PL/S statements as comments in these assembly sources?
WarOnPrivacy1 day ago
IBM terminal color schemes are as close to beautiful as it gets (the AS/400 IF was just artful).
sjreese2 days ago
Good work. Any number of local tests can be run or just your JCL with TYPERUN=SCAN

Read the full thread on Hacker News →

Related stories