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.dev15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7fd524217b5ab50f80607bef3d668d1dbcbe14ff87d0086387df0950e1db1b |
|
MD5 | 4e052e78629fae8f899c141ff093e64e |
|
BLAKE2b-256 | 28e8c7d12f7eebdf53ba544ed6429744b9277d4fbc4011c358ed4e8de895f354 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1346844268ee4c04a6d6841ce73f1a52ba9b1f619b1508d21480d807c299aeb |
|
MD5 | 54f41ab631e5892367412e6199715f97 |
|
BLAKE2b-256 | 0b57bd3a11411cf936cb2af69ba39ab7344073fb55057c3ffded646ca9d4ba16 |