Skip to content

Commit 0c0457e

Browse files
reviewed comments
1 parent a1ded3e commit 0c0457e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

plugins/modules/zos_data_set.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,9 @@
300300
default: false
301301
noscratch:
302302
description:
303-
- "For C(state=absent), specifies whether to keep the data set's entry in the VTOC."
304-
- If C(noscratch=True), the data set is uncataloged but not physically removed from the volume. The DSCB is not removed from the VTOC.
303+
- "When C(state=absent), specifies whether to keep the data set's entry in the VTOC."
304+
- If C(noscratch=True), the data set is uncataloged but not physically removed from the volume.
305+
The Data Set Control Block is not removed from the VTOC.
305306
- This is the equivalent of using C(NOSCRATCH) in an C(IDCAMS DELETE) command.
306307
type: bool
307308
required: false
@@ -585,9 +586,9 @@
585586
default: false
586587
noscratch:
587588
description:
588-
- "For C(state=absent), specifies whether to keep the data set's entry in the VTOC."
589+
- "When C(state=absent), specifies whether to keep the data set's entry in the VTOC."
589590
- If C(noscratch=True), the data set is uncataloged but not physically removed from the volume.
590-
The DSCB is not removed from the VTOC.
591+
The Data Set Control Block is not removed from the VTOC.
591592
- This is the equivalent of using C(NOSCRATCH) in an C(IDCAMS DELETE) command.
592593
type: bool
593594
required: false
@@ -751,7 +752,7 @@
751752
name: someds.name.here
752753
state: absent
753754
754-
- name: Uncatalog a data set but do not remove it from the volume
755+
- name: Uncatalog a data set but do not remove it from the volume.
755756
zos_data_set:
756757
name: someds.name.here
757758
state: absent

tests/functional/modules/test_zos_data_set_func.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ def test_batch_uncatalog_with_noscratch_suboption(ansible_zos_module, volumes_on
13091309
for result in vtoc_check_and_delete.contacted.values():
13101310
# This assertion proves the data set existed on the volume's VTOC
13111311
print(result)
1312+
13121313
assert result.get("changed") is True
13131314
finally:
13141315
# --- Cleanup ---

0 commit comments

Comments
 (0)