Skip to content

Commit 1b8f7e7

Browse files
committed
Automated commit to update documentation
1 parent a3d094b commit 1b8f7e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+16640
-601
lines changed

_sources/ibm_zos_cics/docs/ansible_content.rst.txt

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
.. ...........................................................................
2-
.. © Copyright IBM Corporation 2020,2021 .
2+
.. © Copyright IBM Corporation 2020,2024 .
33
.. ...........................................................................
44
55
=========
66
z/OS CICS
77
=========
88

99
The **IBM® z/OS® CICS® collection**, also represented as
10-
ibm_zos_cics in this document, is part of the broader
10+
ibm_zos_cics in this document, is part of the broader
1111
initiative to bring Ansible® Automation to IBM Z® through the offering
1212
**Red Hat® Ansible Certified Content for IBM Z**.
1313

14-
The **IBM® z/OS® CICS® collection** supports automation tasks that can
15-
define, install, and perform actions on CICS definitions and resources such as
16-
creating a PROGRAM definition, installing and updating it, and deleting the
17-
definition.
14+
The **IBM® z/OS® CICS® collection** provides modules for automation tasks that
15+
perform operations on CICS and CICSPlex SM resources and definitions, for example,
16+
creating and installing a PROGRAM definition, then updating or deleting the definition.
17+
These modules interact with the `CMCI REST API`_ of the CICS® management client
18+
interface (CMCI) for system management.
1819

19-
The Ansible modules in this collection are written in Python and interact with
20-
the `CMCI REST API`_ of the CICS® management client interface (CMCI) for system
21-
management.
20+
The **IBM® z/OS® CICS® collection** also provides modules for provisioning and managing
21+
CICS TS data sets and utilities. You can use these Ansible modules to create automation
22+
tasks that provision or deprovision a CICS region and tasks for CICS startup and
23+
shutdown.
24+
25+
The Ansible modules in this collection are written in Python.
2226

2327
.. _CMCI REST API:
2428
https://www.ibm.com/docs/en/cics-ts/latest?topic=cmci-how-it-works-rest-api

_sources/ibm_zos_cics/docs/source/modules.rst.txt

+71
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,77 @@ Modules
99
Modules can be used in a playbook to automate tasks. Ansible® executes each
1010
module on the target node and returns the result back to the controller.
1111

12+
The **IBM® z/OS® CICS® collection** provides two categories of modules:
13+
14+
* Modules for working with CICS and CICSPlex SM resources and definitions.
15+
These modules interact with CMCI over an HTTP connection by leveraging
16+
the `CMCI REST API`_. These modules are collectively referred to as
17+
**CMCI modules** in documentation.
18+
* Modules for provisioning and deprovisioning of CICS TS regions and for
19+
CICS startup and shutdown operations. These modules are collectively
20+
referred to as CICS **provisioning modules** in documentation.
21+
22+
These modules have different requirements of the managed node. For details, see :doc:`requirements_managed`.
23+
24+
.. _CMCI REST API:
25+
https://www.ibm.com/docs/en/cics-ts/latest?topic=cmci-how-it-works-rest-api
26+
27+
28+
Using Defaults Groups in CICS Provisioning Modules
29+
---------------
30+
31+
The CICS provisioning modules use several defaults groups. In particular, these two defaults groups are used for specific purposes:
32+
33+
* ``cics_data_sets`` can be used to specify the location of a CICS installation.
34+
* ``region_data_sets`` can be used to specify a high level qualifier for the data sets used by a single CICS region.
35+
36+
The example below shows how to use these default groups within the **global_catalog** module.
37+
38+
.. code-block:: yaml+jinja
39+
40+
41+
- name: Initialize a global catalog
42+
ibm.ibm_zos_cics.global_catalog:
43+
region_data_sets:
44+
template: "REGIONS.ABCD0001.<< data_set_name >>"
45+
cics_data_sets:
46+
template: "CICSTS61.CICS.<< lib_name >>"
47+
state: "initial"
48+
49+
50+
In the above example, the global catalog is created at the data set location of ``REGIONS.ABCD0001.DFHGCD``,
51+
and the CICS load libraries can be found at ``CICSTS61.CICS``, which means that the SDFHLOAD library can be
52+
found at ``CICSTS61.CICS.SDFHLOAD``.
53+
54+
These groups can be placed in a `module_defaults`_ section, which means that all
55+
the CICS provisioning modules use the same high level qualifier for the
56+
region data sets, and the location of the CICS installation only has to be
57+
declared once for all the modules.
58+
59+
To override the data set location or name for a specific task, you can provide an
60+
additional parameter to the ``region_data_sets`` group as shown in the example
61+
for a global catalog data set below.
62+
63+
.. code-block:: yaml+jinja
64+
65+
66+
- name: Initialize a global catalog with a custom name
67+
ibm.ibm_zos_cics.global_catalog:
68+
region_data_sets:
69+
dfhgcd:
70+
dsn: "MY.CICS.GLOBAL.CATALOG"
71+
cics_data_sets:
72+
template: "CICSTS61.CICS.<< lib_name >>"
73+
state: "initial"
74+
75+
76+
.. _module_defaults:
77+
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_module_defaults.html
78+
79+
80+
Module Reference
81+
---------------
82+
1283
The **IBM® z/OS® CICS® collection** contains these modules. For each module,
1384
the accepted parameters, return values, and examples are provided in the
1485
documentation.

0 commit comments

Comments
 (0)