Skip to content

Commit 8a0192e

Browse files
Merge pull request #2068 from ansible-collections/enabler/1263/zos_data_set
Removed extra validation step for multi volume use cases
2 parents a937237 + d2cd6b7 commit 8a0192e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trivial:
2+
- zos_data_set - Removed Extra Validation step Error for multi volume cases because it is being handled
3+
by ZOAU
4+
(https://github.com/ansible-collections/ibm_zos_core/pull/2068).

plugins/module_utils/data_set.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,10 +1406,6 @@ def create(
14061406
create_exception.response.stdout_response + "\n" + create_exception.response.stderr_response
14071407
)
14081408
except exceptions.DatasetVerificationError:
1409-
# verification of a data set spanning multiple volumes is currently broken in ZOAU v.1.3.0
1410-
if volumes and len(volumes) > 1:
1411-
if DataSet.data_set_cataloged(name, volumes, tmphlq=tmp_hlq):
1412-
return 0
14131409
raise DatasetCreateError(
14141410
raw_name if raw_name else name,
14151411
msg="Unable to verify the data set was created. Received DatasetVerificationError from ZOAU.",

0 commit comments

Comments
 (0)