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.dev17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b3802bb74eb9ddbdaacdb20181dc989977ba675cfe7f3430127a2d5270993a |
|
MD5 | f978c058b85c726c0a77eedb821c7d3d |
|
BLAKE2b-256 | 3a068888eed6f02b9f917e39088069ac6bba35325312f86cc790455e10d7317f |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f989c6b10d59de26e21e353419ebef4efd00a1a1694571e8de7d99cfd65bab3e |
|
MD5 | 2a1853a5446408521cb1b992a3cfd72e |
|
BLAKE2b-256 | f011f25e27010d4d72a4f857a39a91f0442ce13685edbbacb94174c3b695bb48 |