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.dev16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c9cc0d9a8442549f016225da50f554beed3c6633bc9605113a55aa511866f3 |
|
MD5 | 9e242f9f15dfccce0233a360369009a9 |
|
BLAKE2b-256 | 28d711ff5b13e26406f7a872e4c415438e0bf063c9926a61011bfb1a511894c0 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bbda1d0beafe479996f3c50856e0b44cf67dc8ca38da6ee814388bc62701263 |
|
MD5 | cb4eb74ff9b2b893240cc8e081021652 |
|
BLAKE2b-256 | 6e2ea5143d5356e6d18697811b7cc2d35717f151ff96f6b687c8caf1c5db96b6 |