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.4.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file automvs-0.0.4.tar.gz
.
File metadata
- Download URL: automvs-0.0.4.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b7f2ea127fa4845eed624cfbab866c49bd2f147719f64a530dffa19f18f30d |
|
MD5 | 61e1dd9224a48e8992129bd4d1e23cf5 |
|
BLAKE2b-256 | d328dc830b0218cb8f6046dbf099c765230ce51e3b02971aca89fe23c5ec9ba4 |
File details
Details for the file automvs-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: automvs-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.4 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 | c319b17246a1794ae4b02dd2ff8d2c5216d035a4d623a9ebfb5a2069ae408d19 |
|
MD5 | 354e512d4894668c1b5d1fb6bdeab02d |
|
BLAKE2b-256 | 2c4c9d156dd5a489338c976fba1fa664cf25f9e9a47d3c212ca56469c06c5255 |