moshix / mvs

useful mainframe stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord View SBOM

MVS and VM Goodies

Tapes are the standard way to exchange files, utilities and information between mainframers. Some mainframe shops are now connected thru the HNET Bitnet II international dial-up network.

I also noticed that recently the industry is moving towards a new thing called the "World Wide Web", which is why I now make this collection of tools and utilities available on Github in this crazy new world of the Internet!

This repository includes some very useful utilities for people working with MVS, z/OS, VM/SP and z/VM on real mainframes or emulated ones. Most of the topics covered by these programs are covered in my youtube mainframe channel here: https://www.youtube.com/channel/UCR1ajTWGiUtiAv8X-hpBY7w

Here are some of the programs and tools included in this repo:

  1. recv390 is a receive command for Linux or Windows. It extracts XMIT files. recv390 is by James Morrison. I made some fixes and small enhancements to the program. Compile simply with gcc -o recv90 recv390.c.

  2. SYCPLK.ccdk is a 3390-3 volume (SYSCPK) which includes about 10 or 12 compilers for the mainframe, including:

  • PLI F compiler
  • Cobol compiler from the 60s
  • RPG compiler
  • PL/360 compiler
  • Pascal compiler
  • the amazing ASSIST assembler
  • Simula compiler
  • Basic
  • and tons more!

Simply mount the volume on your system, add it to the VTLST00 member as private, and then extend your JES2 to use the included SYS2.PROCLIB on SYSCPK. This proclib has procedures for all the included compilers. The run-time libraries, like SYSC.PLILIB are of course included in the volume. There is also a version of this volume on 3350 disk image, but OS390 and up don't have support for such old disks anymore. Copying stuff over to a 3390 disk isn't trivial because of the blocking required by certain compiler libraries. In short, there is a need for this volume.

  1. sort.jcl is a sort job which stresses a TK4 MVS 3.8 by creating millions of random records and then using IBM Sort to sort them. Requires TK4-

  2. The amazing standalone operating system for S/360 from Prof Madnick's seminal book on operating system. I also include the assembly output.

  3. My .vimrc file for VIM. It color highlights correctly JCl and assembler for S/370.

  4. VM goodies

  5. The usefuljcl/ directory contains very useful JCL jobs which you will use on adaily basis as a MVS or z/OS SYSPROG

  6. a calculator for ideal blocksize given a DASD type and a logical record length, written by me in Go language. It's called blocksize.go and I also inlude a Linux 64bit binary

  7. the PC370 source code for the simply amazing S370 assembler which runs in MS-DOS.

  8. Lots of JCL and source code files which I use in my moshix mainframe channel vidoes

  9. Some JCL for Cobol and VSAM on z/OS

  10. A REXX programs for both z/OS and MVS 3.8 to get information from the operating system, such as online users, IPL time etc.

  11. SMF reporting tools

  12. Rexx panel programs for TSO

  13. Panel/Rexx programs for TSO

  14. LOGREC cleaning JCL

  15. Creating users on TSO HOWTO

  16. Sort jobs example with IBM Sort (Iceman)

  17. My .X3270pro file (UPDATE: NOW WITH TURBOPASCAL theme)

  18. ISPF Panel Rexx examples

  19. JSON code for interaction between Golang and DB2

  20. A z/VM machine load information utility

  21. A working copy of the original CHRIMAS EXEC (OR CHRISTMA EXEC) worm from 1988

  22. A payroll report source code in MVT Cobol with test data and the JES2 output listing

  23. VM/370 editor

  24. The TELPAR operating system for EDA (Electronic Design Automation) and ATG (Automatic Test Generation) of Stanford University

  25. A disassembler

  26. Sample parameterhandling jobs,

  27. submit bash script for z/OS or MVS workflow in vim

  28. 3270 extended attribute codes

  29. A treatise on the handling of virtual storage in SVS, MFT, MVT and MVS

  30. some very cool VM/370 add-ons.

  31. a tape with VM/370 games.

  32. Matlab for VM/CMS

  33. A JCL and PLI aware small editor

  34. A generalized IP address parser for all your NICS (important when you do IPv4 stuff with Hercules)

  35. An HP41 calculator in Fortran and REXX

  36. an IBM 1403 font

  37. an assembler in bash

  38. and more...much, much more

Printing on VM

Start 00e cl a nosep, on the operator console.

spool print system

print file listing a

CCKD support for Hercules

***@ubuntu:~$ sudo apt install zlib1g-dev

***@ubuntu:~$ sudo apt install libbz2-dev

moshix

July 2024

About

useful mainframe stuff


Languages

Language:JCL 91.7%Language:C 2.8%Language:Assembly 1.2%Language:COBOL 0.8%Language:REXX 0.6%Language:Python 0.6%Language:Shell 0.6%Language:HTML 0.4%Language:Go 0.4%Language:Vim Script 0.3%Language:Batchfile 0.3%Language:Roff 0.2%