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
Release history Release notifications | RSS feed
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.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file automvs-0.0.7.tar.gz
.
File metadata
- Download URL: automvs-0.0.7.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e9b83f301524074e910fff24a888ca09ae682b09dc8ca0789badb73959d7f9 |
|
MD5 | cfbda3f571aa3cc4197ba45185ea6755 |
|
BLAKE2b-256 | 7106c0670e9674eeb9218bf63c8be1bc8eaa75cba9c53ce8a93f4f7ef390d9ac |
File details
Details for the file automvs-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: automvs-0.0.7-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1932b4ca418de0eb9a765a12b35d0f5cbe4b085c0f4eac13befe4fd2c5d50a9c |
|
MD5 | 6b89375bae0d5ad561f677a45b44ad7d |
|
BLAKE2b-256 | c05d2eb536221e5f68ef736b8adc7e402ab2d65b8589ee29a06981d58e168110 |