Skip to content

Commit 626698b

Browse files
andrewhughes101GitHub Enterprise
authored andcommitted
Merge pull request ansible-collections#153 from CICS/dump-doc
Add generated rst for transaction dump module
2 parents 445a29e + bb19ac1 commit 626698b

File tree

1 file changed

+183
-0
lines changed

1 file changed

+183
-0
lines changed
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
.. _transaction_dump_module:
2+
3+
4+
transaction_dump -- Allocate transaction dump data sets
5+
=======================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Allocates the two \ `transaction dump <https://www.ibm.com/docs/en/cics-ts/6.1?topic=sets-defining-transaction-dump-data>`__\ data sets used by a CICS® region.
16+
17+
18+
19+
20+
21+
22+
Parameters
23+
----------
24+
25+
space_primary (False, int, 20)
26+
The size of the transaction dump data set's primary space allocation. Note, this is just the value; the unit is specified with \ :literal:`space\_type`\ .
27+
28+
This option only takes effect when the transaction dump data set is being created. If it already exists, it has no effect.
29+
30+
31+
space_type (False, str, M)
32+
The unit portion of the transaction dump data set size. Note, this is just the unit; the value is specified with \ :literal:`space\_primary`\ .
33+
34+
This option only takes effect when the transaction dump data set is being created. If it already exists, it has no effect.
35+
36+
The size can be specified in megabytes (\ :literal:`M`\ ), kilobytes (\ :literal:`K`\ ), records (\ :literal:`REC`\ ), cylinders (\ :literal:`CYL`\ ), or tracks (\ :literal:`TRK`\ ).
37+
38+
39+
region_data_sets (True, dict, None)
40+
The location of the region's data sets using a template, e.g. \ :literal:`REGIONS.ABCD0001.\<\< data\_set\_name \>\>`\ .
41+
42+
43+
template (False, str, None)
44+
The base location of the region's data sets with a template.
45+
46+
47+
dfhdmpa (False, dict, None)
48+
Overrides the templated location for the DFHDMPA data set.
49+
50+
51+
dsn (False, str, None)
52+
Data set name of the dfhdmpa to override the template.
53+
54+
55+
56+
dfhdmpb (False, dict, None)
57+
Overrides the templated location for the DFHDMPB data set.
58+
59+
60+
dsn (False, str, None)
61+
Data set name of the DFHDMPB to override the template.
62+
63+
64+
65+
66+
cics_data_sets (False, dict, None)
67+
The name of the \ :literal:`SDFHLOAD`\ data set, e.g. \ :literal:`CICSTS61.CICS.SDFHLOAD`\ .
68+
69+
70+
template (False, str, None)
71+
Templated location of the cics install data sets.
72+
73+
74+
sdfhload (False, str, None)
75+
Location of the sdfhload data set.
76+
77+
Overrides the templated location for sdfhload.
78+
79+
80+
81+
destination (False, str, A)
82+
The transaction dump data set to create, if left blank A is implied, but this can be used to specify A or B.
83+
84+
\ :literal:`A`\ will create or delete the A transaction dump data set.
85+
86+
\ :literal:`B`\ will create or delete the B transaction dump data set. This MUST be set for B data set creation.
87+
88+
89+
state (True, str, None)
90+
The desired state for the transaction dump data set, which the module will aim to achieve.
91+
92+
\ :literal:`absent`\ will remove the transaction dump data set data set entirely, if it already exists.
93+
94+
\ :literal:`initial`\ will create the transaction dump data set if it does not already exist.
95+
96+
\ :literal:`warm`\ will retain an existing transaction dump data set in its current state.
97+
98+
99+
100+
101+
102+
103+
104+
105+
106+
Examples
107+
--------
108+
109+
.. code-block:: yaml+jinja
110+
111+
112+
- name: Allocate transaction dump data set A (implicit)
113+
ibm.ibm_zos_cics.transaction_dump:
114+
state: initial
115+
116+
- name: Allocate transaction dump data set A
117+
ibm.ibm_zos_cics.transaction_dump:
118+
state: initial
119+
destination: A
120+
121+
- name: Allocate transaction dump data set B
122+
ibm.ibm_zos_cics.transaction_dump:
123+
state: initial
124+
destination: B
125+
126+
- name: Delete transaction dump data set A (implicit)
127+
ibm.ibm_zos_cics.transaction_dump:
128+
state: absent
129+
130+
- name: Delete transaction dump data set B
131+
ibm.ibm_zos_cics.transaction_dump:
132+
state: absent
133+
destination: B
134+
135+
136+
137+
Return Values
138+
-------------
139+
140+
changed (always, bool, )
141+
True if the state was changed, otherwise False.
142+
143+
144+
failed (always, bool, )
145+
True if the query job failed, otherwise False.
146+
147+
148+
executions (always, list, )
149+
A list of program executions performed during the task.
150+
151+
152+
name (always, str, )
153+
A human-readable name for the program execution.
154+
155+
156+
rc (always, int, )
157+
The return code for the program execution.
158+
159+
160+
stdout (always, str, )
161+
The standard out stream returned by the program execution.
162+
163+
164+
stderr (always, str, )
165+
The standard error stream returned from the program execution.
166+
167+
168+
169+
170+
171+
172+
Status
173+
------
174+
175+
176+
177+
178+
179+
Authors
180+
~~~~~~~
181+
182+
- Thomas Foyle (@tom-foyle)
183+

0 commit comments

Comments
 (0)