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.7.post1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

automvs-0.0.7.post1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file automvs-0.0.7.post1.tar.gz.

File metadata

  • Download URL: automvs-0.0.7.post1.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.7.post1.tar.gz
Algorithm Hash digest
SHA256 5e38f2c5ee4a13dedb8f554317580e804e4cde0adcdf38fd382c1db11df9be8a
MD5 e90d79811afb200fc938887b1828f52c
BLAKE2b-256 0e9b8e2c16af02e729072f0caf012a42083d13c63eb4ba2010931d300f6d0362

See more details on using hashes here.

File details

Details for the file automvs-0.0.7.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for automvs-0.0.7.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e317d9e5935e789bcb5f3edbb14022a31936b805394c206d9ddd847c8911bd8
MD5 cbbba3eebe5c481d5b62fc5ce97749a8
BLAKE2b-256 da1797c8a380bfd8bf7d91dc6e77adfda3dfbdfa80362e2cbd88935729be6ccd

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