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.dev14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9951ed2cb4c5bd5b1ba86f4833d04287427899f103fce09911bb6cf3b0e71a2 |
|
MD5 | f359b7e285d72f56e9164a5fc53262a0 |
|
BLAKE2b-256 | f564c39ad63e73531bd91f0dd306f7ef156163df53117daecafff441e29e3fbf |
Close
Hashes for zowe_zos_files_for_zowe_sdk-1.0.0.dev14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72768f88fc954536915c9fe21fea335ac4fa4e9062abdbb82c5240e5a8023b05 |
|
MD5 | 35fa6b1100ece2cc520d1266a23577ba |
|
BLAKE2b-256 | 9a74c638f0edd672da0a1745688a561e0f520fb9de12a50a24786358ee8ab145 |