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.dev25.tar.gz (5.1 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.dev25.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev25.tar.gz
Algorithm Hash digest
SHA256 a82fa34445b65bf51cee7523bbfaa6ea4505cee6a63365429294ca754728f92e
MD5 08b9be7478b8af4082977ea647331f7f
BLAKE2b-256 af22d66a1da70401e0e0e4cf65cea0c4a206eb0c9206a29df30a1998791cc821

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev25-py3-none-any.whl
Algorithm Hash digest
SHA256 d2f508d6df46fe08601d6b8342e5f51fd54c8a5ca26ed7e7536957b7f32b39e5
MD5 e49681bbdde39c0b80dc4170ce7db96b
BLAKE2b-256 7942d82b0f03c8cf1542499056f1708ae75bce229134446a79df176b979554b4

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