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.post3.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file automvs-0.0.7.post3.tar.gz
.
File metadata
- Download URL: automvs-0.0.7.post3.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 | 463968356adb0a278683c12f47b732ad73e4f04bb5f610e19482f1aa4de50a39 |
|
MD5 | 30828b8579f2bc6f465a7b74f743baf9 |
|
BLAKE2b-256 | 000954cf2df85653dfc6f656936aa3f475b1cef60e1f5a606e47352aeb788c14 |
File details
Details for the file automvs-0.0.7.post3-py3-none-any.whl
.
File metadata
- Download URL: automvs-0.0.7.post3-py3-none-any.whl
- Upload date:
- Size: 8.6 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 | 7ab7cf4fac00a66ad16be8c99f60d3c7632f37fdadc5703e61fa9db2d4bb686c |
|
MD5 | 266276801210823f10a0213dbc61bae9 |
|
BLAKE2b-256 | 903fc6c6727f52cb1d05c4493b17bdb07f5e92398f5ac575d89a1fcb5e636e4b |