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.3.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file automvs-0.0.3.tar.gz
.
File metadata
- Download URL: automvs-0.0.3.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 | 301b8d74ae473f875c95105efdb1df40b7012446f974c30c9af429af4364d139 |
|
MD5 | f7f8ad44be3e6ad9811670f86d674585 |
|
BLAKE2b-256 | 4fdf27453d95989f71ac8e6f43b381198be1128345e160c96fd65d336b70999f |
File details
Details for the file automvs-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: automvs-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.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 | c85f0aabcdec8ab7b1f6b93023e50d04a684653e78f3a120a7bf6a0255310a23 |
|
MD5 | a95ba3461d4582ec3dd1cc05297ed621 |
|
BLAKE2b-256 | d3d1a78ebe0caf7c834263b8533db984dda5ddb6af49486fb3e4fd28bbd9f7bd |