Skip to content
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

Bugfix/393/tmp hlq ddstatements: Adds tmphlq to create_temp datasets in DDStatements. #414

Merged
merged 7 commits into from
Sep 14, 2022

Conversation

fernandofloresg
Copy link
Collaborator

SUMMARY

Discovered that during the implementation of tmphlq there were some missing DDStatements in zos_mvs_raw that were missing the tmphlq when calling Datasets.create_temp()

Added TMPHLQ as a parameter for StdinDefinition and OutputDefinition defaulting as an empty string, this is different as how tmphlq is defaulted to None in other sections of the code because the hlq parameter of create_temp is a string and defaults as empty too, so I wanted to keep consistency with that interface.

Also, since tmphlq was now added to more than dd type I abstracted the assignment into a function called set_extra_attributes_in_dd to avoid overpopulating the build_data_definition function with tmphlq assignments, figured that we could add extra attributes there too if needed in the future(maybe pass it as kwargs to add into the dds).

Fixes #393

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

zos_mvs_raw

ADDITIONAL INFORMATION

# This is the 1st commit message:

Added the tmphlq in a different funtion in case we need to set extra attributes in the future

# This is the commit message #2:

Fixing pep8 issues
…attributes in the future

Fixing pep8 issues

Updated dependency finder

resolved pep8 issue
Added removed comma

Pulled dependency finder

Got latest dependency finder
@fernandofloresg fernandofloresg added the Enhancement Enhancement to existing collection content label Sep 12, 2022
@fernandofloresg
Copy link
Collaborator Author

Screenshot 2022-09-12 at 12 34 09
Screenshot 2022-09-12 at 12 35 12
Screenshot 2022-09-12 at 12 35 25

@fernandofloresg
Copy link
Collaborator Author

Temporarily closed to add change log fragments.

@fernandofloresg fernandofloresg force-pushed the bugfix/393/tmp_hl-ddstatements branch from 64a339f to f79c4fc Compare September 13, 2022 16:08
Added new line at the end of file

Added new line at the end of file
@fernandofloresg fernandofloresg force-pushed the bugfix/393/tmp_hl-ddstatements branch from f79c4fc to e6cc80f Compare September 13, 2022 16:10
Copy link
Collaborator

@ddimatos ddimatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch & creative solution ! Thanks @fernandofloresg

@ddimatos ddimatos merged commit fd359d6 into dev Sep 14, 2022
@ddimatos ddimatos deleted the bugfix/393/tmp_hl-ddstatements branch September 14, 2022 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhancement to existing collection content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[zos_mvs_raw] Missing tmp_hlq in some data definition statements.
2 participants