zowe / zowe-client-python-sdk

Eclipse Public License 2.0
40 stars 27 forks source link

Download datasets from tape #249

Closed rupurt closed 5 months ago

rupurt commented 8 months ago

Is your feature or enhancement request related to a problem or limitation? Please describe

I would like to download datasets from tape via z/OSMF

Describe your enhancement idea

Provide an equivalent API to the z/OS FTP server which offers AUTOTAPEMOUNT

Describe alternatives you've considered

None

github-actions[bot] commented 8 months ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.

zFernand0 commented 8 months ago

Hey @rupurt, Thanks for submitting the issue.

I'm trying to look for some APIs provided by the z/OS Management Facility and I can't seem to find anything that interacts with tapes. The only kind of operations that it supports is purely for retrieval of data classes, storage classes, and storage groups (and their definitions) (source).

Since the AUTOTAPEMOUNT capabilities are only provided via the FTP protocol, we may need a bit more time to plan this enhancement. Ideally, we can provide support for a broader set of functionality that goes through the FTP protocol.

That said, I do like the enhancement, and who knows, someday we may provide a zowe-ftp-for-zowe-sdk package on PyPi 😋

rupurt commented 8 months ago

Haha, I couldn't find any either which is why I was hoping y'all might have some insights. I guess for now we'd need to have the admin configure our mounts if we want to use tape with z/OSMF.

For something like zowe-ftp-for-zowe-sdk I've been using a modified version of this pypi package https://pypi.org/project/zosftplib/. The repo doesn't exist anymore but you can get the source from pypi. It was missing a bunch of things provided in the NodeJS ftp library https://github.com/IBM/zos-node-accessor. So I've been porting those as I need them.

I will ask my company if we can work with the zowe project to open source them.

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] commented 5 months ago

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further.