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")
files_info = Files(profile)
print(files_info.delete_data_set(dataset_name="ZOWEUSER.PUBLIC.MY.DATASET.JCL", member_name="MEMBER"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c1a25d58ba8006f9b2d64250fa3b42170e608b9d750b764020e673390cb084 |
|
MD5 | d3bfbf5ec027917485ad4943885ffaa2 |
|
BLAKE2b-256 | 6de7aa694b15106840e89aa67466f42b00aab0be3d43682463631635ab73335d |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba49e8afd003838b811727e4b856803f210024e5859c1ceaa02e7ee59cfe665 |
|
MD5 | 1471e7cb19bac33c41094d5b9407687b |
|
BLAKE2b-256 | 16a980819ae26d464e1db64eacfb15a874f289b1fddb7540c7ea24a9c0956582 |