Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zowe_zos_tso_for_zowe_sdk-1.0.0.dev22.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file zowe_zos_tso_for_zowe_sdk-1.0.0.dev22.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev22.tar.gz
Algorithm Hash digest
SHA256 c9abaf13c9e158e4a48c19e95fbe4d27c62878b9adde484557d4175c12851113
MD5 c60fda0294b151d03e92e58f9dc9634a
BLAKE2b-256 08b06f5bff6ea501388fdc2aeee88011665b6b393aea3e2ecd47d90e67f931b8

See more details on using hashes here.

File details

Details for the file zowe_zos_tso_for_zowe_sdk-1.0.0.dev22-py3-none-any.whl.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev22-py3-none-any.whl
Algorithm Hash digest
SHA256 0b501f591f3751acbdd0f89400dc5e3f3bc62ef400635b46856764ac67a22239
MD5 d788b8db7560ed99c93e7a78f692f5f6
BLAKE2b-256 7e48d5b27406a217abe3e091a72de34268900501390e10a8cfbef787fbbd451b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page