Metadata-Version: 2.4
Name: zowe_zos_files_for_zowe_sdk
Version: 1.0.0.dev26
Summary: Zowe Python SDK - z/OS Files package
Home-page: https://github.com/zowe/zowe-client-python-sdk
Author: Zowe
Author-email: zowe.robot@gmail.com
License: EPL-2.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)
Description-Content-Type: text/markdown
Requires-Dist: zowe.core_for_zowe_sdk~=1.0.0-dev26
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: summary

z/OS Files Package
==================

Contains APIs to interact with files and data sets on z/OS (using z/OSMF files REST endpoints).

Examples
------------

<strong>Create a dataset</strong>  

```
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
}))
```

<strong>Delete a dataset member</strong>  

```
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"))
```
