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.dev23.tar.gz (4.9 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.dev23.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev23.tar.gz
Algorithm Hash digest
SHA256 4f9d73cb2851c54d5b5f032bb858e49b0629107b662f94b80d016d24c17e71c2
MD5 2382caae96a7b708c42fb58926883f9c
BLAKE2b-256 ff659712b9de8aee67977cd041c6742e36c76a2712fd93e2e80fb1205461d739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zowe_zos_tso_for_zowe_sdk-1.0.0.dev23-py3-none-any.whl
Algorithm Hash digest
SHA256 1827039fbacfbd80cfdb73c106cbfaf0ac76d1853621cd584569768a7e7886d6
MD5 772aa4797d4c896b43d38809b80811bc
BLAKE2b-256 72765236126ae31b81d13f85e894af6c2d24bcdc5d426d93e19b1c3a941df0c2

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