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.dev24.tar.gz (5.0 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.dev24.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev24.tar.gz
Algorithm Hash digest
SHA256 82fd46f4a54a8219055800f3e8807e07f571989cd52e3338143af30dacd43b4a
MD5 e210c2f639613fa701bd3eb9d88bfdf9
BLAKE2b-256 255995651fa1cf84930e2920d19a4f5c4e4520d095ab5fdd281fc8804bb2d5e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev24-py3-none-any.whl
Algorithm Hash digest
SHA256 e261bd10e283fb130bdd93a919bce63e99c484dd869b0fd5c883f065277be9e5
MD5 f983e0d30ce3ddc5ae74f996ea2c56ef
BLAKE2b-256 6355fda3169657f49932bdda18419f3153bcbc56a7b9ac0910933908802c4a66

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