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.dev20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cd4e35edc89fc4329ca758fce83a73251463aae0662efb2c0037c04dc1420c |
|
MD5 | 06aaa3eef25c596a2fb44f18fb8b5f43 |
|
BLAKE2b-256 | 96863952e411f33312987ae6a4933f63adfa2c6105169a72e056c36c1cf0f981 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ad87d7217612ac70825a112de02a8398fe3b63e3ff858d3c8a327f10ad65ec |
|
MD5 | 4280f4585fae1a8a34552158f3fafedd |
|
BLAKE2b-256 | c872ee7cbb491c08aa15d762b933fa88b3c2ce223cc72e7b197a5d3911d51964 |