You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update zos_data_set member description created (#816)
* Update zos_data_set module member description
Signed-off-by: ddimatos <dimatos@gmail.com>
* Adding fix for uncataloged vsam and non-vsam data sets
Signed-off-by: ddimatos <dimatos@gmail.com>
* Fixes the issue of parts of a vsam cluster remaining behind and allows user to correctly delete DS not in cat
Signed-off-by: ddimatos <dimatos@gmail.com>
* Update module doc to explain data set deltion for given volume
Signed-off-by: ddimatos <dimatos@gmail.com>
* Unbound local var fix
Signed-off-by: ddimatos <dimatos@gmail.com>
* Lint corrections
Signed-off-by: ddimatos <dimatos@gmail.com>
* remove unused imports
Signed-off-by: ddimatos <dimatos@gmail.com>
* Added 2.16 ignore since our pipeline supports devel which is at this time 2.16
Signed-off-by: ddimatos <dimatos@gmail.com>
* Update module doc to explain data set deltion for given volumegit
Signed-off-by: ddimatos <dimatos@gmail.com>
* Added changelog fragment
Signed-off-by: ddimatos <dimatos@gmail.com>
* Update grammar issue
Signed-off-by: ddimatos <dimatos@gmail.com>
---------
Signed-off-by: ddimatos <dimatos@gmail.com>
Copy file name to clipboardExpand all lines: docs/source/modules/zos_data_set.rst
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,9 @@ state
56
56
If *state=absent* and *volumes* is provided, and the data set is not found in the catalog, the module attempts to perform catalog using supplied *name* and *volumes*. If the attempt to catalog the data set catalog fails, then no action is taken. Module completes successfully with *changed=False*.
57
57
58
58
59
+
If *state=absent* and *volumes* is provided, and the data set is found in the catalog, the module compares the catalog volume attributes to the provided *volumes*. If the volume attributes are different, the cataloged data set will be uncataloged temporarily while the requested data set be deleted is cataloged. The module will catalog the original data set on completion, if the attempts to catalog fail, no action is taken. Module completes successfully with *changed=False*.
60
+
61
+
59
62
If *state=present* and the data set does not exist on the managed node, create and catalog the data set, module completes successfully with *changed=True*.
60
63
61
64
@@ -65,6 +68,9 @@ state
65
68
If *state=present* and *replace=False* and the data set is present on the managed node, no action taken, module completes successfully with *changed=False*.
66
69
67
70
71
+
If *state=present* and *type=MEMBER* and the member does not exist in the data set, create a member formatted to store data, module completes successfully with *changed=True*. Note, a PDSE does not allow a mixture of formats such that there is executables (program objects) and data. The member created is formatted to store data, not an executable.
72
+
73
+
68
74
If *state=cataloged* and *volumes* is provided and the data set is already cataloged, no action taken, module completes successfully with *changed=False*.
69
75
70
76
@@ -74,7 +80,7 @@ state
74
80
If *state=cataloged* and *volumes* is provided and the data set is not cataloged, module attempts to perform catalog using supplied *name* and *volumes*. If the attempt to catalog the data set catalog fails, returns failure with *changed=False*.
75
81
76
82
77
-
If *state=uncataloged* and the data set is not found, no action taken, module completes successfully with *changed=False*.
83
+
If *state=uncataloged* and the data set is not found, no action taken, module completes successfully with *changed=False*.
78
84
79
85
80
86
If *state=uncataloged* and the data set is found, the data set is uncataloged, module completes successfully with *changed=True*.
@@ -321,6 +327,9 @@ batch
321
327
If *state=absent* and *volumes* is provided, and the data set is not found in the catalog, the module attempts to perform catalog using supplied *name* and *volumes*. If the attempt to catalog the data set catalog fails, then no action is taken. Module completes successfully with *changed=False*.
322
328
323
329
330
+
If *state=absent* and *volumes* is provided, and the data set is found in the catalog, the module compares the catalog volume attributes to the provided *volumes*. If they volume attributes are different, the cataloged data set will be uncataloged temporarily while the requested data set be deleted is cataloged. The module will catalog the original data set on completion, if the attempts to catalog fail, no action is taken. Module completes successfully with *changed=False*.
331
+
332
+
324
333
If *state=present* and the data set does not exist on the managed node, create and catalog the data set, module completes successfully with *changed=True*.
325
334
326
335
@@ -330,6 +339,9 @@ batch
330
339
If *state=present* and *replace=False* and the data set is present on the managed node, no action taken, module completes successfully with *changed=False*.
331
340
332
341
342
+
If *state=present* and *type=MEMBER* and the member does not exist in the data set, create a member formatted to store data, module completes successfully with *changed=True*. Note, a PDSE does not allow a mixture of formats such that there is executables (program objects) and data. The member created is formatted to store data, not an executable.
343
+
344
+
333
345
If *state=cataloged* and *volumes* is provided and the data set is already cataloged, no action taken, module completes successfully with *changed=False*.
334
346
335
347
@@ -339,7 +351,7 @@ batch
339
351
If *state=cataloged* and *volumes* is provided and the data set is not cataloged, module attempts to perform catalog using supplied *name* and *volumes*. If the attempt to catalog the data set catalog fails, returns failure with *changed=False*.
340
352
341
353
342
-
If *state=uncataloged* and the data set is not found, no action taken, module completes successfully with *changed=False*.
354
+
If *state=uncataloged* and the data set is not found, no action taken, module completes successfully with *changed=False*.
343
355
344
356
345
357
If *state=uncataloged* and the data set is found, the data set is uncataloged, module completes successfully with *changed=True*.
@@ -352,7 +364,7 @@ batch
352
364
353
365
354
366
type
355
-
The data set type to be used when creating a data set. (e.g ``pdse``)
367
+
The data set type to be used when creating a data set. (e.g ``PDSE``)
356
368
357
369
``MEMBER`` expects to be used with an existing partitioned data set.
0 commit comments