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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

automvs-0.0.9.post1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for automvs-0.0.9.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 55b2f1764cee60cf63811dc5cf64f99f15474c44df8a19aeb8dd9989a37f2f14
MD5 7540f825771ee1d4d816fdbaa5a4253f
BLAKE2b-256 4c7714f3ce7ba9fdbd88e3077e227d6d3fb8bb40c800c813ee4e315e9ac05efe

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