Skip to main content

Zowe Python SDK - z/OS Files package

Project description

z/OS Files Package

Contains APIs to interact with files and data sets on z/OS (using z/OSMF files REST endpoints).

Examples

Create a dataset

from zowe.core_for_zowe_sdk import ProfileManager
from zowe.zos_files_for_zowe_sdk import Files

profile = ProfileManager().load(profile_name="zosmf")
files_info = Files(profile)

print(files_info.create_data_set("DATASETNAME", options={
    "primary": 10,
    "secondary": 1,
    "alcunit": "TRK",
    "lrecl": 80
}))

Delete a dataset member

from zowe.core_for_zowe_sdk import ProfileManager
from zowe.zos_files_for_zowe_sdk import Files

profile = ProfileManager().load(profile_name="zosmf")

with Files(profile) as files_info:
    print(files_info.delete_data_set(dataset_name="ZOWEUSER.PUBLIC.MY.DATASET.JCL", member_name="MEMBER"))

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_files_for_zowe_sdk-1.0.0.dev26.tar.gz (16.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_files_for_zowe_sdk-1.0.0.dev26.tar.gz.

File metadata

File hashes

Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev26.tar.gz
Algorithm Hash digest
SHA256 1fcfde5f02d18fd7b30c67338db0000594923551a752582ad18e2e2d1c2dfe83
MD5 4d05a8256696b7bd633accc515c502f2
BLAKE2b-256 8d0371dc9ac05b78621bbad3d9579777883b89f133275db412f6aab902d6e70a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev26-py3-none-any.whl
Algorithm Hash digest
SHA256 34d2c4e1067a31b5fd603072ba1e6536b98c4b2d5033ad8d7903c7e47350f8cf
MD5 130e8813abbe4e90633865ecd759bf41
BLAKE2b-256 389d34e813c5ab418136fdb6f67e1475c5d3296a866a0fb43ca255e4fb08bee4

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