-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
EnhancementEnhancement to existing collection contentEnhancement to existing collection contentIn PlanIssue has been accepted and put into a planned releaseIssue has been accepted and put into a planned release
Milestone
Description
FEATURE
Module ibm_zos_data_set could benefit from supporting the disposition share (DISP=SHR) so that a member can be updated when a PDS/E has been open but a started task and will not be released. This would allow the module to force a change.
This will require that ZOAU support DISP=SHR in ZOAU utility mrm.
An example of this is a member being deleted using zos_data_set module:
- name: "Delete the member(s) from PDS(s)"
zos_data_set:
name: "HLQ.MLQ.LLQ(APP1)"
state: absent
type: MEMBER
Results in:
"DatasetMemberDeleteError('An error occurred during deletion of data set member\"HLQ.MLQ.LLQ(APP1)\". RC=1')", "names": ["HLQ.MLQ.LLQ(APP1)"]}
Source of interest in the module:
Raises:
DatasetMemberDeleteError: When data set member deletion fails.
"""
rc = datasets.delete_members(name)
if rc > 0:
raise DatasetMemberDeleteError(name, rc)
Relates to #357
IBM Internal JIRA issue ZOAU-9264
IBM internal discussion reference info CSLEJ8VGV/p1658245204937069
Metadata
Metadata
Assignees
Labels
EnhancementEnhancement to existing collection contentEnhancement to existing collection contentIn PlanIssue has been accepted and put into a planned releaseIssue has been accepted and put into a planned release
Type
Projects
Status
✅ Done