Skip to main content

Python library for MVS/CE automation

Project description

MVS Automation Python Library

This library allows the use of MVS/CE in an automated fashion. This can be used for deploying XMI files, pushing out updates, building software, creating custom MVS deployments.

Using this library requires a recent version of hercules SDL and MVS/CE.

Example:

IPL MVS/CE and submit JCL and check the results, attach a device and send an operator command::

from automvs import automation
cwd = os.getcwd()
build = automation()
build.ipl(clpa=False)
try:
    print("Submitting {}/jcl/upload.jcl".format(cwd))
    with open("{}/jcl/upload.jcl".format(cwd),"r") as jcl:
        build.submit(jcl.read())
    build.wait_for_string("HASP250 UPLOAD   IS PURGED")
    build.check_maxcc("UPLOAD")
    build.send_herc('devinit 170 tape/zdlib1.het')
    build.wait_for_string("IEF238D SMP4P44 - REPLY DEVICE NAME OR 'CANCEL'.")
    build.send_reply('170')
    build.send_oper("$DU")
finally:
    build.quit_hercules()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automvs-0.0.5.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

automvs-0.0.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file automvs-0.0.5.tar.gz.

File metadata

  • Download URL: automvs-0.0.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for automvs-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bfe35cec1690c343563f1d86f4b16a3bb815f379a81f86147e8faa23e25f9c31
MD5 2bff5d0af10788c8c7d23ee1e0a11388
BLAKE2b-256 ee3763b23e234f83b609bde7dd98949c8edfe5caf22266478a37069d0bf635f8

See more details on using hashes here.

File details

Details for the file automvs-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: automvs-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for automvs-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 323d28db18355cc0cb302120c5799fd1cc3e378bd912978f3929b0d13f2b3796
MD5 18a32732bd844053640e321cd62c1f85
BLAKE2b-256 7e817179b7f471de9370acdffe449b82deebd54c83243896c3547b6f9f011de4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page