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
Copy file name to clipboardExpand all lines: docs/source/modules/cmci_action.rst
+43-5Lines changed: 43 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,20 +181,37 @@ resources
181
181
182
182
183
183
complex_filter
184
-
A string containing logical expressions that filter the resource table records in the data returned on the request.
184
+
A dictionary representing a complex filter expression. Complex filters are composed of filter expressions, represented as dictionaries. Each dictionary can specify either an attribute expression, a list of filter expressions to be composed with the ``and`` operator, or a list of filter expressions to be composed with the ``or`` operator.
185
+
186
+
The ``attribute``, ``and`` and ``or`` options are mutually exclusive with each other.
185
187
186
188
Can contain one or more filters. Multiple filters must be combined using ``and`` or ``or`` logical operators.
187
189
188
190
Filters can be nested. At most four nesting layers are allowed.
189
191
192
+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator with the ``=`` option.
193
+
194
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
195
+
190
196
191
197
|**required**: False
192
198
|**type**: dict
193
199
194
200
195
201
202
+
and
203
+
A list of filter expressions to be combined with an ``and`` operation.
204
+
205
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
206
+
207
+
208
+
|**required**: False
209
+
|**type**: list
210
+
211
+
212
+
196
213
attribute
197
-
The resource table attributes to be filtered.
214
+
The name of a resource table attribute on which to filter.
198
215
199
216
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
200
217
@@ -216,6 +233,17 @@ resources
216
233
217
234
218
235
236
+
or
237
+
A list of filter expressions to be combined with an ``or`` operation.
238
+
239
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
240
+
241
+
242
+
|**required**: False
243
+
|**type**: list
244
+
245
+
246
+
219
247
value
220
248
The value by which you are to filter the resource attributes.
221
249
@@ -229,11 +257,21 @@ resources
229
257
230
258
231
259
filter
232
-
A string containing basic logical expressions that filter the resource table records in the data returned on the request.
260
+
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
261
+
262
+
Filters implicitly use the ``=`` operator
263
+
264
+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
265
+
266
+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
267
+
268
+
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
269
+
270
+
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
233
271
234
-
Supports only the equal logic when filtering attribute values.
272
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
235
273
236
-
Can contain one or more filters.
274
+
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
237
275
238
276
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
Copy file name to clipboardExpand all lines: docs/source/modules/cmci_delete.rst
+43-5Lines changed: 43 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,20 +141,37 @@ resources
141
141
142
142
143
143
complex_filter
144
-
A string containing logical expressions that filter the resource table records in the data returned on the request.
144
+
A dictionary representing a complex filter expression. Complex filters are composed of filter expressions, represented as dictionaries. Each dictionary can specify either an attribute expression, a list of filter expressions to be composed with the ``and`` operator, or a list of filter expressions to be composed with the ``or`` operator.
145
+
146
+
The ``attribute``, ``and`` and ``or`` options are mutually exclusive with each other.
145
147
146
148
Can contain one or more filters. Multiple filters must be combined using ``and`` or ``or`` logical operators.
147
149
148
150
Filters can be nested. At most four nesting layers are allowed.
149
151
152
+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator with the ``=`` option.
153
+
154
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
155
+
150
156
151
157
|**required**: False
152
158
|**type**: dict
153
159
154
160
155
161
162
+
and
163
+
A list of filter expressions to be combined with an ``and`` operation.
164
+
165
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
166
+
167
+
168
+
|**required**: False
169
+
|**type**: list
170
+
171
+
172
+
156
173
attribute
157
-
The resource table attributes to be filtered.
174
+
The name of a resource table attribute on which to filter.
158
175
159
176
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
160
177
@@ -176,6 +193,17 @@ resources
176
193
177
194
178
195
196
+
or
197
+
A list of filter expressions to be combined with an ``or`` operation.
198
+
199
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
200
+
201
+
202
+
|**required**: False
203
+
|**type**: list
204
+
205
+
206
+
179
207
value
180
208
The value by which you are to filter the resource attributes.
181
209
@@ -189,11 +217,21 @@ resources
189
217
190
218
191
219
filter
192
-
A string containing basic logical expressions that filter the resource table records in the data returned on the request.
220
+
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
221
+
222
+
Filters implicitly use the ``=`` operator
223
+
224
+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
225
+
226
+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
227
+
228
+
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
229
+
230
+
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
193
231
194
-
Supports only the equal logic when filtering attribute values.
232
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
195
233
196
-
Can contain one or more filters.
234
+
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
197
235
198
236
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
Copy file name to clipboardExpand all lines: docs/source/modules/cmci_get.rst
+64-5Lines changed: 64 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,20 +154,37 @@ resources
154
154
155
155
156
156
complex_filter
157
-
A string containing logical expressions that filter the resource table records in the data returned on the request.
157
+
A dictionary representing a complex filter expression. Complex filters are composed of filter expressions, represented as dictionaries. Each dictionary can specify either an attribute expression, a list of filter expressions to be composed with the ``and`` operator, or a list of filter expressions to be composed with the ``or`` operator.
158
+
159
+
The ``attribute``, ``and`` and ``or`` options are mutually exclusive with each other.
158
160
159
161
Can contain one or more filters. Multiple filters must be combined using ``and`` or ``or`` logical operators.
160
162
161
163
Filters can be nested. At most four nesting layers are allowed.
162
164
165
+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator with the ``=`` option.
166
+
167
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
168
+
163
169
164
170
|**required**: False
165
171
|**type**: dict
166
172
167
173
168
174
175
+
and
176
+
A list of filter expressions to be combined with an ``and`` operation.
177
+
178
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
179
+
180
+
181
+
|**required**: False
182
+
|**type**: list
183
+
184
+
185
+
169
186
attribute
170
-
The resource table attributes to be filtered.
187
+
The name of a resource table attribute on which to filter.
171
188
172
189
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
173
190
@@ -189,6 +206,17 @@ resources
189
206
190
207
191
208
209
+
or
210
+
A list of filter expressions to be combined with an ``or`` operation.
211
+
212
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
213
+
214
+
215
+
|**required**: False
216
+
|**type**: list
217
+
218
+
219
+
192
220
value
193
221
The value by which you are to filter the resource attributes.
194
222
@@ -202,11 +230,21 @@ resources
202
230
203
231
204
232
filter
205
-
A string containing basic logical expressions that filter the resource table records in the data returned on the request.
233
+
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
234
+
235
+
Filters implicitly use the ``=`` operator
236
+
237
+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
206
238
207
-
Supports only the equal logic when filtering attribute values.
239
+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
208
240
209
-
Can contain one or more filters.
241
+
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
242
+
243
+
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
244
+
245
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
246
+
247
+
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
210
248
211
249
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
212
250
@@ -330,6 +368,27 @@ Examples
330
368
- name: csdgroup
331
369
value: MYGRP
332
370
record_count: 1
371
+
372
+
- name: Using complex_filter to combine filter expressions and change operators
Copy file name to clipboardExpand all lines: docs/source/modules/cmci_update.rst
+43-5Lines changed: 43 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,20 +150,37 @@ resources
150
150
151
151
152
152
complex_filter
153
-
A string containing logical expressions that filter the resource table records in the data returned on the request.
153
+
A dictionary representing a complex filter expression. Complex filters are composed of filter expressions, represented as dictionaries. Each dictionary can specify either an attribute expression, a list of filter expressions to be composed with the ``and`` operator, or a list of filter expressions to be composed with the ``or`` operator.
154
+
155
+
The ``attribute``, ``and`` and ``or`` options are mutually exclusive with each other.
154
156
155
157
Can contain one or more filters. Multiple filters must be combined using ``and`` or ``or`` logical operators.
156
158
157
159
Filters can be nested. At most four nesting layers are allowed.
158
160
161
+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator with the ``=`` option.
162
+
163
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
164
+
159
165
160
166
|**required**: False
161
167
|**type**: dict
162
168
163
169
164
170
171
+
and
172
+
A list of filter expressions to be combined with an ``and`` operation.
173
+
174
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
175
+
176
+
177
+
|**required**: False
178
+
|**type**: list
179
+
180
+
181
+
165
182
attribute
166
-
The resource table attributes to be filtered.
183
+
The name of a resource table attribute on which to filter.
167
184
168
185
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
169
186
@@ -185,6 +202,17 @@ resources
185
202
186
203
187
204
205
+
or
206
+
A list of filter expressions to be combined with an ``or`` operation.
207
+
208
+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
209
+
210
+
211
+
|**required**: False
212
+
|**type**: list
213
+
214
+
215
+
188
216
value
189
217
The value by which you are to filter the resource attributes.
190
218
@@ -198,11 +226,21 @@ resources
198
226
199
227
200
228
filter
201
-
A string containing basic logical expressions that filter the resource table records in the data returned on the request.
229
+
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
230
+
231
+
Filters implicitly use the ``=`` operator
232
+
233
+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
234
+
235
+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
236
+
237
+
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
238
+
239
+
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
202
240
203
-
Supports only the equal logic when filtering attribute values.
241
+
For examples, see :ref:`ibm.ibm_zos_cics.cmci_get <ibm.ibm_zos_cics.cmci_get_module>`
204
242
205
-
Can contain one or more filters.
243
+
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
206
244
207
245
For supported attributes of different resource types, see their resource table reference, for example, `PROGDEF resource table reference <https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.6.0/reference-cpsm-restables/cpsm-restables/PROGDEFtab.html>`_.
Copy file name to clipboardExpand all lines: galaxy.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@ readme: README.md
12
12
13
13
# Contributors
14
14
authors:
15
-
- IBM
15
+
- Stewart Francis
16
+
- Tom Latham
17
+
- Sophie Green
16
18
# Description
17
19
description: The Red Hat Ansible Certified Content for IBM Z CICS collection includes connection plugins, action plugins, modules and sample playbooks to automate tasks for CICS
0 commit comments