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.dev19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e2786a47235e3ce6c70d138c0e48547ddf7d97d2ca6759ac52ed7c71e2584e |
|
MD5 | 5ff728ab2b1db89cab2e81eae1b49259 |
|
BLAKE2b-256 | 9b1af63361ffa467171f93a5226f5e142b5ab47fdbdf4ed469681fd8db4d07f4 |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe92cd49269044f3468cb7307353216c178bdd326d073f1c156fea445f53c2a6 |
|
MD5 | 7d8c7f0ec42ed4254e4a6db83190e600 |
|
BLAKE2b-256 | 730c47135c300b67abecfed8a9b4acad78e871666804172ce61bb6a9774b507b |