Home / Blog / IBM MVS 3.8 Community Edition (52-year old OS)
Tech News

IBM MVS 3.8 Community Edition (52-year old OS)

The MVS-sysgen project published an automated MVS 3.8J build pipeline and Docker deployment featuring modern networking, storage patches, and SMP software.

By Dillip Chowdary • Nov 29, 2026 • Source: github.com

IBM MVS 3.8 Community Edition (52-year old OS)
Image: github.com

At a glance

Product
IBM MVS 3.8 Community Edition
Distribution
Automated sysgen and Docker container
Requirements
Linux with SDL Hercules 4.5 or newer
Build Time
Upward of two hours on Debian or Ubuntu
Security Engine
RAKF v2.0.0 with SVC 244 authorization
Network Access
TN3270, FTPD, HTTPD, and Hercules console

The MVS-sysgen development team released an automated system generation framework for IBM MVS 3.8J Community Edition, packaging a fully operational mainframe environment for contemporary Linux hosts. According to github.com's report, the project integrates automated system installation with preconfigured emulation utilities, networking services, and interactive tools. Users can launch the prebuilt operating system directly using a startup script or deploy the complete distribution inside a containerized runtime environment.

This technical release overview examines the system generation sequence, container deployment parameters, and modular software installations managed through System Modification Program packaging. The platform is designed for systems programmers, retrocomputing researchers, and mainframe software developers seeking a functional System 370 mainframe distribution. Readers will find operational requirements, service port mappings, security authorization rules, and command procedures for automating local builds.

01Container deployment and network port routing

Running the distribution requires a 64-bit Linux installation equipped with SDL Hercules version 4.5 or newer, Python 3, Git, and GNU tar. Administrators interact with the guest operating system using recommended terminal emulators including c3270, x3270, and the ncat network utility. The operating system image launches immediately on host machines through the start script after downloading official tagged releases from the project repository.

Containerized infrastructure simplifies deployment by encapsulating Hercules and the mainframe disk volumes inside an official image named mainframed767/mvsce:latest. The container exposes terminal networking on port 3270 for cleartext TN3270 sessions, port 3223 for TLS encryption, and port 3271 for WebSocket connections. External storage mounts bind local host directories to persistent guest paths across card readers, printers, logs, certificates, and direct access storage devices.

Network daemons provide administrative access across dedicated TCP ports including 8888 for the Hercules web console using default credentials docker and docker. Additional service bindings map port 2121 for FTPD control, port 3221 for secure FTP over TLS, and range 22000-22200 for passive data connections. The integrated web server and mvsMF management framework listen on port 8080 under the zosmf uniform resource path.

Command
docker run -d \
--name=mvsce \
-e HUSER=docker \
-e HPASS=docker \
-p 3270:3270 \
-p 3223:3223 \
-p 3271:3271 \
-p 3505:3505 \
-p 3506:3506 \
-p 8888:8888 \
-p 2121:2121 \
-p 3221:3221 \
-p 22000-22200:22000-22200 \
-p 8080:8080 \
-v /opt/docker/mvsce:/config \
-v /opt/docker/mvsce/printers:/printers \
-v /opt/docker/mvsce/punchcards:/punchcards \
-v /opt/docker/mvsce/logs:/logs \
-v /opt/docker/mvsce/dasd:/dasd \
-v /opt/docker/mvsce/certs:/certs \
--restart unless-stopped \
mainframed767/mvsce:latest

02Automated generation pipeline and execution loops

Local builds require a Debian or Ubuntu environment executing without root permissions to avoid a documented Hercules resource exhaustion flaw. The Python automation orchestrates a fourteen-stage generation process based on Jay Moseley's system generation architecture, taking upward of two hours on standard hardware. Progress monitoring is available in real time by following log output in sysgen.log while the script advances through each discrete stage.

The sysgen script accepts granular execution arguments including custom version identifiers, credential overrides, and specific user configurations defined in users.conf and profiles.conf. A thirty-minute timeout prevents script deadlocks caused by emulator hangs, though users can adjust this threshold or supply custom Hercules binary paths. Command-line flags also permit disabling direct access storage device compression while retaining intermediate backup disks and temporary work files.

Because emulator bugs can interrupt long installations, the build procedure relies on an automated until loop that retries failed steps using the continue parameter. The script tracks progress via a dot-step state marker file, permitting restarts from specific numbered steps or individual substeps without rebuilding earlier disks. Developers can inspect every available stage and subcomponent by executing the script with the list command flag.

Command
until ./sysgen.py --CONTINUE; do echo "Failed, rerunning"; done

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03Operating system usermods and storage extensions

The generation process begins by establishing starter systems and distribution libraries using System Modification Program version 4.44 and ESY1400. In step five, the installer applies essential system modifications across a single initial program load sequence. These patches introduce user modification ZP60038 at rework level 20261106, which provides ISPF dialog variable transfer services through REXX VPUT and VGET routines.

Storage management receives expanded hardware geometry definitions through modifications RP00001, RP00002, and RP00003, enabling mainframe support for 3375, 3380, and 3390 direct access storage volumes. Patch MS00100 establishes link list data set volume tracking so system libraries appear inside LNKLST00 during first boot. Fix SLB0003 eliminates abnormal termination code 22F during initial program loads under the Hercules emulator.

Later sequence phases apply modifications ZP60041, ZP60042, and ZP60043 alongside ZMG0001 to deliver tight BREXX/370 integration into the Time Sharing Option. Modification ZP60042 incorporates the IEAVNP12 fix and supersedes earlier patch M096220. Finalization procedures execute specialized job control language routines that establish system shutdown commands, apply COMMND00 definitions, and package the completed operating system directory.

04Software stack installed with system modification program

The mvslovers component collection installs from pinned software distributions defined with SHA-256 integrity checksums inside the mvslovers configuration file. The build updates package pins via automated script commands, while custom package distributions can be supplied directly through dedicated distribution arguments. All core packages undergo tracking through the System Modification Program with received, applied, and accepted statuses.

ProductVersionFMID / SYSMODSMP StatusLibraries
BREXX/3703.1.0TBRX310REC APP ACCBREXX.LINKLIB, BREXX.RXLIB, BREXX.SAMPLIB, BREXX.PROCLIB
MS00100-MS00100REC APPLink list data sets by volume
ZMG00013.1.0ZMG0001REC APPUSERMOD.ZMG0001 kept on PUB000
RAKFv2.0.0TRKF200REC APP ACCSYS1.SECURE.CNTL
UFSD1.5.2TUFS152REC APP ACCUFSD.*
FTPD1.3.4TFTP134REC APP ACCFTPD.*
HTTPD4.5.1THTP451REC APP ACCHTTPD.*
mvsMF1.4.1TZMF141REC APP ACCMVSMF.* in HTTPD STEPLIB
SDSF1.2.0TISF120REC APP ACCISF.LINKLIB, ISF.ISFPLIB, ISF.ISFCLST

System installation includes the Wally Interactive System Productivity Facility and RFE utility delivered through the MVP package manager. Additional operational tools incorporate the NJE38 networking package, OPNTERSE compression utilities, and Spool Display and Search Facility software. Link list definitions place package binaries into execution paths, while authorized program facility entries protect sensitive system libraries.

05Security authorizations and runtime daemon control

Security enforcement relies on the Resource Access Control Facility replacement package RAKF, configuring user credentials and resource profiles during generation step eight. The BREXX interpreter operates in an unauthorized state, requiring explicit READ permissions on RAKF FACILITY DIAG8CMD for control program commands. Administrative group members receive required permissions across diagnostic commands and SVC 244 facility profiles to execute privileged console routines.

Integrating modification ZMG0001 allows the Time Sharing Option to execute REXX scripts directly from SYSEXEC data set members or files containing initial REXX comment tags. Background server daemons including UFSD, HTTPD, FTPD, and mvsMF execute with authorization through supervisor call 244 without dedicated authorized program facility entries. These background server daemons remain dormant at initial program load and require explicit operator activation from the master console or SDSF.

Operators start guest daemons sequentially using console start commands for UFSD, HTTPD, and FTPD across active system sessions. Passive FTP clients utilizing extended passive mode operate without custom adjustments, whereas standard passive connections require configuring host addressing in SYS2.PARMLIB. Setting the PASVADR parameter ensures the FTP daemon announces the public Docker host address rather than internal container networking to remote client sessions.

Command
/S UFSD
/S HTTPD
/S FTPD

Frequently asked questions

What host operating systems and tools are required to run MVS Community Edition?

The system requires a Linux host with SDL Hercules version 4.5 or newer, Python 3, Git, and GNU tar. Users also benefit from 3270 terminal emulators such as c3270 or x3270 and the ncat networking utility.

How can users deploy MVS Community Edition using Docker?

Users can run the container image mainframed767/mvsce:latest from Docker Hub with mapped volumes for DASD, logs, certificates, and printers. The container maps port 3270 for cleartext TN3270, port 3223 for TLS encryption, port 8888 for the web console, and port 8080 for HTTPD.

Why should the sysgen build script never run under root privileges?

A known bug in Hercules causes the emulator to consume all available machine resources if executed as root. Running sysgen under a standard user account on Debian or Ubuntu avoids this resource exhaustion issue.

How do administrators start networking daemons like FTP and HTTP on the running system?

Daemon services do not start automatically at initial program load and must be started manually from the console or SDSF using /S UFSD, /S HTTPD, and /S FTPD. Passive FTP clients using plain PASV require setting PASVADR in SYS2.PARMLIB(FTPDPRM0) to the Docker host address.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →