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
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.dev21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 144e6c90b3c1eccafe4864207143b4c91dbc979e20f2023f915280b8020e9304 |
|
MD5 | e68b3a7d2456ccdca4a3ad81dce7097f |
|
BLAKE2b-256 | 340e34c90b976c0d0575cc300933b4e67514d19ca5cfb7b7f3bc2ac020484c08 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4f19904356b622bb70767a5c1e6788e3941624d1e417ff3141fed472e6c77c |
|
MD5 | 5c5c8bcb2e77b40e6ec543bf6a7981d2 |
|
BLAKE2b-256 | f86edeaef3a16a1ba05be96052b72f0a66d38b45306adf5ef79be8ad915aab67 |