Zowe Python SDK - z/OS TSO package
Project description
z/OS TSO Package
Contains APIs to interact with TSO on z/OS (using z/OSMF TSO REST endpoints).
Examples
Issue the TSO command "status" to display information about jobs for your user ID
from zowe.core_for_zowe_sdk import ProfileManager
from zowe.zos_tso_for_zowe_sdk import Tso
profile = ProfileManager().load(profile_name="zosmf")
with Tso(profile) as tso_info:
started_tso_session = tso_info.start_tso_session()
issue_command = tso_info.send_tso_message(started_tso_session, message="status")
print(issue_command)
Demonstrate starting, pinging, and stopping a TSO address space
from zowe.core_for_zowe_sdk import ProfileManager
from zowe.zos_tso_for_zowe_sdk import Tso
profile = ProfileManager().load(profile_name="zosmf")
with Tso(profile) as tso_info:
started_tso_session = tso_info.start_tso_session()
print(started_tso_session)
print(tso_info.ping_tso_session(started_tso_session))
print(tso_info.end_tso_session(started_tso_session))
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
Built Distribution
Close
Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a447beb3d1ffae78575fa9ce4452c141ebc360d515a4719595ac8aceb12e415f |
|
MD5 | 1d10df408485c79181aedf79b83c0236 |
|
BLAKE2b-256 | e59a7731fd862cbbe16af661fdd25dcb8e28b5061185a23ae3b17e2581520eb1 |
Close
Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d109926dc17c82cf1594bc8c619bf5e76986a5dcdb3b396380427ad4f059b385 |
|
MD5 | 2f96a5efc6d5917c21d482fd19727a2e |
|
BLAKE2b-256 | 4a9b07259fe5f92fe7856e7084b01723401c6db87c8b0886f3844c04aa068bfe |