To use this version of MVS you can download the current release and run bash start_mvs.sh.
The following is also recommended:.
Go to https://github.com/MVS-sysgen/sysgen/releases and download the latest release. Tagged versions are official releases, latest is automatically built after every commit. The latest version has all the recent changes and might be unstable.
If you have docker you can run MVS/CE in a docker container.
Make sure the directories are correct for your docker volumes and hit enter, this will download the latest MVS/CE release and deploy it. You can then connect with your 3270 client on port 3270 (or port 3223 for encrypted communication). (Related: Industry News: Deploy Hugging Face models easily with A...)
Recent findings suggest that UFSD, HTTPD and FTPD are not started at IPL; start them from the console or SDSF (/S UFSD, /S HTTPD, /S FTPD). Passive FTP with EPSV (most clients) works as is. A client that uses plain PASV is sent the container's own address; for those set PASVADR in SYS2.PARMLIB(FTPDPRM0) to the Docker host's address. (Related: Stop treating agents as one-off projects and start runn...)
More details are available here: https://hub.docker.com/r/mainframed767/mvsce.
To build the container yourself, use the Dockerfiles in Docker/: docker build -f Docker/Dockerfile.local -t mvsce:local . runs the whole sysgen in the build and needs no release download.
Please use https://github.com/wrljet/hercules-helper to build hercules.
Sources indicate that right now only Debian/Ubuntu based systems are supported. If your system requires a password for sudo commands you may get prompted for your password to install needed software.
โ ๏ธ DO NOT run this script as root, there is a bug in hercules which will cause it to eat up all your machine resources โ ๏ธ.
Industry observers note that depending on your system this could take upward of two hours. If you want to follow along you can use tail -F sysgen.log.
Running MVS/CE sysgen builds a modified Jay Moseley sysgen of MVS 3.8J and installs the software below in these steps (./sysgen.py -l lists them with their substeps; each step writes a backup that the next one restores):.
To build MVS/CE use sysgen.py. This python script can take many arguments:.
Assuming you have all the prerequisites installed (git, tar, python3 and hercules) the recommended command used to build sysgen is:.
Industry observers note that this until loop will run until sysgen is complete. This is due to multiple bugs in hercules which may cause it to fail and which is typically fixed by rerunning the failed step.
Recent findings suggest that the arguments below are for more granular control of where to start sysgen from. These can be used if a step has failed of if you make changes to a step and start the install from that step instead of starting over. Some steps are atomic, some have multiple sub steps. With the arguments below you can continue/restart from either.
-l or --list This will list all available steps and substeps.
Sources indicate that --step Restart sysgen from this step. The install will continue from here.
--substep Restart sysgen from a steps substep.
-C or --CONTINUE If sysgen fails for any reason a file (.step) is created prior to exit, this argument reads that file and continues building MVS/CE from where it left off. This superscedes the --step and --substep arguments.
According to recent reports, โ ๏ธ By default sysgen will remove the temp and backup folders. If you're doing development work you can use the --keep-backup and --keep-temp arguments to keep those folders after systen completes allowing you to restart sysgen at any point.
The mvslovers stack is installed with SMP from pinned releases. Versions and sha256 sums are in mvslovers.conf; ./sysgen.py --upgrade-mvslovers [p1,p2] moves the pins to the newest releases (review the diff and commit it), and --mvslovers-dist DIR builds with dists of your own instead.
What this means on the running system:.
In a recent development, SMP knows every product and usermod. As a RAKF admin:.
Each FMID indicates STATUS = REC APP ACC in the CDS, ZMG0001 and MS00100 REC APP. Never trust the condition code alone: a NOT SEL APPLY ends RC 0 with nothing copied.
Sources indicate that the products are normal SMP functions, so a fresh release goes on the running system the way its install guide describes. In short:.
To build a upcoming image with the new levels instead, bump the pins (--enhancement-mvslovers) and run sysgen.
Near the end of sysgen (step 13, step_13_customize) the file jcl/customize.jcl is submitted to the newly built system. At this point BREXX, RAKF, MVP, NJE38, ISPF, the mvslovers stack and SDSF are already installed, so this jobstream is the place to add your own customizations that you want baked in to the final system.
Note: jcl/customize.jcl must not contain a JOB card, sysgen.py generates one automatically using a RAKF admin user (the commented out job card at the top of the file indicates what it will look like).
Sources indicate that the most common use of customize.jcl is installing extra software using MVP, the MVS/CE package manager. Each package is installed with one EXEC statement:.
The -D flag enables debug output to the job log and MVS console, which is recommended during sysgen so failures are easier to diagnose.
By default customize.jcl installs OPNTERSE (UFSD, FTPD, HTTPD and mvsMF are installed with SMP in step 12a). To install additional packages just add more //MVPINST EXEC MVP,INSTALL='...' lines, one per package:.
To see what packages are available check the MVP/packages folder in this repo, or see the MVP repository: https://github.com/MVS-sysgen/MVP.
You are not limited to MVP installs: any JCL steps you want (copying members, allocating datasets, applying local mods, etc.) can be added to this jobstream.
โ ๏ธ sysgen expects every step in customize.jcl to end with a condition code of 0000. If any step fails (for example, a typo in a package name) sysgen will stop at step 13, and you can fix the JCL and rerun with -C (or --step step_13_customize).
โ ๏ธ IBMUSER and MVSCE01 are RAKF and TSO admins.
You can add a admin user using the --username flag. To add more users edit the users.conf file.
It has been revealed that from TSO, as a RAKF admin (FACILITY SVC244 READ): SHUTDOWN (warnings every minute, shutdown after 5 minutes) or SHUTFAST (10 seconds). They start the procedure SYS2.PROCLIB(SHUTDOWN) as a started task, the same as /S SHUTDOWN or /S SHUTDOWN,TYPE='SHUTFAST' on the console, and return at once. The procedure runs the execs of the same names in SYS2.STCEXEC. SYS2.JCLLIB(SHUTDOWN) and (SHUTFAST) do the same as a batch job; add USER=/PASSWORD= of an admin to the job card, because a job without a user gets no CONSOLE or CP command from BREXX/370.
It has been revealed that and many more. See the branch original which tracked changes to the original sysgen and the git log to see the hundred of other changes since the initial release.
This repo is heavily based on Jay Moseley sysgen. His writeup is a wonderful resource and you should read the site here: https://www.jaymoseley.com/hercules/installMVS/iMVSintroV8.htm.
A lot of the information contained on this repo is directly from his sysgen walkthrough.
There are lots of files and folders. Each folder has a readme explaining from a high level what each file does.
From: http://www.jaymoseley.com/hercules/installMVS/iCUSTv7.htm.
Industry observers note that much of the operation of MVS is controlled by JES2 and the parameters that affect JES2 are contained in the member JES2PM00 in SYS1.PARMLIB. The three main functions are job entry (readers), job execution (job classes), and output (printers and punches).
Industry observers note that there is one Hercules emulated card reader that is controlled by JES2 - the 2540R at address x'00c'. There are other card readers generated into the system and one of those is also defined in the Hercules configuration file - the 2540R at address x'01c'.
Sources indicate that there are two emulated printers controlled by JES2 - the 1403 at address x'00e' and the 3211 at address x'00f'. The 1403 printer defined at address x'015' is a special case as it defined as, and dedicated to the hardcopy log; it is not controlled by JES2. There are other printers generated into the system, but they are not defined in the configuration file; they are simply 'extra' printers.
According to recent reports, there is one emulated card punch that is controlled by JES2 - the 2540P at address x'00d'. There are other card punches generated into the system and one of those is also definied in the Hercules configuration file - the 2540P at address x'01d'.
The CLASS= parameter on the JOB card determines the class that the job is intended to be run in.
There are six initiators defined to JES2, three are not active when MVS is IPLed, but three of them are automatically started. The initiators select a job for execution when the CLASS= parameter on the JOB card matches one of the CLASSES the initiator is set to process. Presently the initiators are set to process these classes (listed in order by highest priority first):.
Class S is intended for use for System Programming tasks, so some of the control has been loosened on that class, which is why you don't have to 'approve' embedded console commands. It is not a good idea to simply use S for all of your jobs, however, as there are good reasons for those controls being in place.
The two printers controlled by JES2 are set to select non-held printer output in class A (the 1403 at x'00e') and class M (the 3211 at x'00f').
The card punch controlled by JES2 is set to select non-held punch output in class B.
Industry observers note that some of the parameters for JES2 may be changed from the MVS console and the changes will only remain in effect until the next IPL. Some of the parameters must be changed by altering the JES2PM00 member in SYS1.PARMLIB, then stopping and restarting JES2.