Skip to content

yetacp/playmvs

Repository files navigation

My MVS Playground (Cookbook)

Logon screen

Workflow

Workflow

TODO...

Acknowledgements

If I have seen a little further it is by standing on the shoulders of Giants.
Isaac Newton.

About

  • This is my playground to learn MVS3.8j/TK4- environment and to test C projects using Linux GCCMVS cross-compiler for MVS.

Dependencies

Projects in progress

  • Small programs to demonstrate C programming in MVS.
  • A C implementation of VSAM API.
  • A web panel editor for FSS API (C Full Screen Interface).
  • A LUA port for MVS.
  • A database API using TCP/IP interface (EZASMI). A simplified Python script will provide a socket server for database services.

Ideas

  • Create a client DB API for MVT Cobol, like Jay Moseley's VSAMIOS.
  • A decimal math library similar to COBOL for C.

Playground projects

  • This folder contains some programs to test C programming in MVS.

  • These programs are compiled inside Linux using GCCMVS to generate source code in assembly.

  • I use jobs to send these source code to MVS through Hercules sockdevs (3505 card readers).

  • Assembling (IFOX00) and linkediting (IEWL) are executed inside MVS.

  • C program to receive 2 numbers from JCL (and/or TSO) and add them.
  • I cross-compile two C programs in Linux to assembly source code.
  • Generated assembly code is compiled using IFOX00 in MVS.
  • After, modules are linked using IEWL in MVS.
  • C program to read and print a dataset declared in DD JCL.
  • A tiny toy virtual machine written in C.
  • A Fibonnaci algorithm is hard coded in vmcode.c file.
  • A small Python+SQLite database providing a REST API.
  • A partial C implementation of VSAM API.
  • Author: myself
  • Only KSKDS works

14_lua (It is not working)

  • A C-wrapper for EZASMI API and a TCP/IP sample
  • Using MVSDDT to debug a assembly program.
  • Frontend: a small program with screens using FSS and a TCP/IP client using EZASMI.
  • Backend: a REST API server using a SQLite database to provide persistence.
Client list