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.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a4b316293a37d3167174da8103dd7d1375de74f1d9ac9105e00c3719cf803f |
|
MD5 | cbebfd720d0e4ba5631445056431f21c |
|
BLAKE2b-256 | 021efc26ce7fda9f7ce66b3afb025f4ad7c36b65ac75a0608303aad0140c6e04 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005978247730e0e99232ba99548d03abf9ca2dc9bf75c982a5073b8f21c0d949 |
|
MD5 | 74ce713e71b8ac92f7a40e005402665c |
|
BLAKE2b-256 | 5284a0cd04694ea52e039eac1e5fbd3d473aae2b883cbcd99e03678d71b4b832 |