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.dev18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ad05c757219249270f9c5c919b88af440ae68bcb6f1bfd8c2be0767690fe35d |
|
MD5 | 34f01ae4cc28542346ab156d6b8aac53 |
|
BLAKE2b-256 | 9d1f015ecd46199f8916de3b7ff1f2245861f5567a05c088ffdd3effad8a9b01 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6524b4b3f83ab95e265684e0990f233b326c9fbc1cd1156bcc58bec4d23213e6 |
|
MD5 | 83575181658070e5797bb9839b3bc336 |
|
BLAKE2b-256 | ca1740e573a42b97e21d9ccf3b79506386d09a8135ae9b20d2cd5d2e1defee4d |