Skip to content

Commit 445a29e

Browse files
andrewhughes101GitHub Enterprise
authored andcommitted
Merge pull request ansible-collections#149 from CICS/trace-doc
Add trace rst
2 parents 2a28d28 + d0d7d7a commit 445a29e

File tree

1 file changed

+183
-0
lines changed

1 file changed

+183
-0
lines changed

docs/source/modules/trace.rst

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
.. _trace_module:
2+
3+
4+
trace -- Allocate auxillary trace data sets
5+
===========================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Allocates the two \ `auxillary trace <https://www.ibm.com/docs/en/cics-ts/6.1?topic=sets-setting-up-auxiliary-trace-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 auxillary trace 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 auxillary trace 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 auxillary trace 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 auxillary trace 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+
dfhauxt (False, dict, None)
48+
Overrides the templated location for the DFHAUXT data set.
49+
50+
51+
dsn (False, str, None)
52+
Data set name of the DFHAUXT to override the template.
53+
54+
55+
56+
dfhbuxt (False, dict, None)
57+
Overrides the templated location for the DFHBUXT data set.
58+
59+
60+
dsn (False, str, None)
61+
Data set name of the DFHBUXT 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 auxillary trace 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 auxillary trace data set.
85+
86+
\ :literal:`B`\ will create or delete the B auxillary trace data set. This MUST be set for B data set creation.
87+
88+
89+
state (True, str, None)
90+
The desired state for the auxillary trace data set, which the module will aim to achieve.
91+
92+
\ :literal:`absent`\ will remove the auxillary trace data set data set entirely, if it already exists.
93+
94+
\ :literal:`initial`\ will create the auxillary trace data set if it does not already exist.
95+
96+
\ :literal:`warm`\ will retain an existing auxiliary trace 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 auxillary trace data set A (implicit)
113+
ibm.ibm_zos_cics.trace:
114+
state: initial
115+
116+
- name: Allocate auxillary trace data set A
117+
ibm.ibm_zos_cics.trace:
118+
state: initial
119+
destination: A
120+
121+
- name: Allocate auxillary trace data set B
122+
ibm.ibm_zos_cics.trace:
123+
state: initial
124+
destination: B
125+
126+
- name: Delete auxillary trace data set A (implicit)
127+
ibm.ibm_zos_cics.trace:
128+
state: absent
129+
130+
- name: Delete auxillary trace data set B
131+
ibm.ibm_zos_cics.trace:
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+
- Kye Maloy (@KyeMaloy97)
183+

0 commit comments

Comments
 (0)