-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[zos-files] download_dsn
fails to write contents to disk
#179
Comments
Thank you for creating a bug report. |
I want to work on this issue. I want to contribute in a medium-level problem can I work on this? |
@Aman123lug Feel free to work on this issue, although you'll need a z/OSMF environment to be able to reproduce the issue and test a fix 🙂 To gain access to a mainframe running z/OSMF, you could sign up for the OMP Cobol Programming Course or request a 3-day trial from IBM here. |
To work around this issue, the file can be downloaded to a string and then saved to a file: dsn_contents = files.get_dsn_content(dsname)
with open(dsname.split(".")[-1] + ".txt", 'w') as f:
f.write(dsn_contents["response"]) |
The text was updated successfully, but these errors were encountered: