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.dev26.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.dev26.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev26.tar.gz
Algorithm Hash digest
SHA256 d3bc11a8b8962a0026b44d37d83f2c8e3f8980e96229435084ae385fc0b2277e
MD5 b92b7e548c08d667a1bcf43420092474
BLAKE2b-256 3fbfb8fa6de0458b573bed2656a43946ae83b0a849ea3041a572269af5d7f7d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev26-py3-none-any.whl
Algorithm Hash digest
SHA256 c7517e7dfeda6b40b92b4b85b866eb74d550a28000b09aa4ba8df38a796dd3ca
MD5 c6dcfb19e61a2d8b786eafe3225fb5a5
BLAKE2b-256 7b6bba6fb589df762a3035699a965e4123a03107ecbc51487109c25d9bb9b175

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