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.8.tar.gz
(11.3 kB
view details)
Built Distribution
automvs-0.0.8-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file automvs-0.0.8.tar.gz
.
File metadata
- Download URL: automvs-0.0.8.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2037185cf39e9b7bde3e6d6de5eff45c59db061c5959d9d4058ce150e2ff880d |
|
MD5 | 32d43d392fda6074c57a47fcca0a7cbe |
|
BLAKE2b-256 | f895f4bd6f459484229663fb612a196c2591fd9ebd84070b99888ecf570a782b |
File details
Details for the file automvs-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: automvs-0.0.8-py3-none-any.whl
- Upload date:
- Size: 11.3 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 | c2f80099c349d7f9f01f9dcd8486acd285033f1dae5e18a27e9cb63f934350d6 |
|
MD5 | 30e9f8f008bc3240ca21b2ffd0d99379 |
|
BLAKE2b-256 | e91e215447a3b17a43e2adf7c68d5cfdf75c167582aeee48c4f3e69add5ef184 |