Skip to content

Commit b39617c

Browse files
authored
Merge pull request #144 from ansible-collections/release-v1.3.0
Sync latest changes from release v1.3.0 into dev
2 parents 87207f4 + 179c957 commit b39617c

24 files changed

+162
-80
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ and ansible-doc to automate tasks on IMS.
4040
Ansible version compatibility
4141
==============================
4242

43-
This collection has been tested against the following Ansible versions: >=2.14.0,<2.16.0.
43+
This collection has been tested against the following Ansible versions: >=2.14.0,<2.17.0.
4444

4545

4646
Copyright

ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
forks = 25
2323
# remote_tmp = /u/ansible/tmp
2424
# remote_port = 2022
25-
callback_enabled = ansible.posix.profile_tasks
25+
# callback_enabled = ansible.posix.profile_tasks
2626

2727
[connection]
2828
pipelining = False

changelogs/changelog.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ releases:
6969
\n"
7070
fragments:
7171
- v1.2.0_summary.yml
72-
- v1.2.0_summary.yml
7372
release_date: '2023-03-31'
7473
1.2.0-beta.1:
7574
changes:
@@ -93,3 +92,33 @@ releases:
9392
fragments:
9493
- v1.2.0-beta2_summary.yml
9594
release_date: '2022-12-22'
95+
1.3.0:
96+
changes:
97+
release_summary: "Release Date: '2024-04-10'\nThis changelog describes all changes
98+
made to the modules and plugins included\nin this collection.\nFor additional
99+
details such as required dependencies and availability review\nthe collections
100+
`release notes <https://github.com/ansible-collections/ibm_zos_ims/blob/dev/docs/source/release_notes.rst>`__
101+
\n"
102+
fragments:
103+
- v1.3.0_summary.yml
104+
release_date: '2024-04-10'
105+
1.3.0-beta.1:
106+
changes:
107+
major_changes:
108+
- Added new module 'ims_ddl'
109+
- Added new member dfsdf_member in the ims_catalog_populate and ims_catalog_purge modules.
110+
The DFSDFxxx member is in the IMS.PROCLIB data set where the CATALOG section is defined.
111+
- Documentation update, minor updates to compression parameter in the ims_acbgen module where
112+
PRECOMP,POSTCOMP, in any combination, cause the required in-place compression.
113+
The choices are not mutually exclusive -- PRECOMP or POSTCOMP or PRECOMP,POSTCOMP can be used.
114+
- Improved test and ansible-sanity coverage.
115+
- Subset of the test cases were updated to support for Ansible 2.15.
116+
- Additional support for test cases in ims_catalog_populate and ims_catalog_purge modules to
117+
support dfsdf_member parameter.
118+
- This update also has updated prerequisites for Ansible 2.14 or newer and ZOAU 1.2.2 or newer
119+
but prior to version 1.3.
120+
fragments:
121+
- v1.3.0-beta1_summary.yml
122+
release_date: '2023-12-15'
123+
124+

docs/source/modules/ims_acb_gen.rst

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ims_acb_gen -- Generate IMS ACB
1616

1717
Synopsis
1818
--------
19-
- The ims_acb_gen module generates an IMS application control block (ACB) necessary for an IMS application program to be scheduled and run.
20-
- The ims_dbd_gen and ims_psb_gen modules can be used to generate the associated IMS database descriptors (DBDs) and program specification block (PSBs) to be used with the ims_acb_gen module.
19+
- The ims\_acb\_gen module generates an IMS application control block (ACB) necessary for an IMS application program to be scheduled and run.
20+
- The ims\_dbd\_gen and ims\_psb\_gen modules can be used to generate the associated IMS database descriptors (DBDs) and program specification block (PSBs) to be used with the ims\_acb\_gen module.
2121
- The DBD and PSB control blocks will be merged and expanded into an IMS internal format called application control blocks (ACBs).
2222

2323

@@ -43,17 +43,15 @@ command_input
4343
compression
4444
PRECOMP,POSTCOMP, in any combination, cause the required in-place compression.
4545

46-
The choices are not mutually exclusive -- PRECOMP or POSTCOMP or PRECOMP,POSTCOMP can be used
47-
4846
The default is none.
4947

5048
| **required**: False
5149
| **type**: str
52-
| **choices**: PRECOMP, POSTCOMP
50+
| **choices**: precomp, postcomp, precomp,postcomp, PRECOMP, POSTCOMP, PRECOMP,POSTCOMP
5351
5452

5553
psb_name
56-
The name of the PS**s**. Specifies that blocks are built or deleted for all PSBs that are named on this control statement.
54+
The name of the PSB(s). Specifies that blocks are built or deleted for all PSBs that are named on this control statement.
5755

5856
This field requires "ALL" or a list of psb names to be specified.
5957

@@ -73,7 +71,7 @@ dbd_name
7371
acb_lib
7472
The ACB Maintenance utility maintains the prebuilt blocks (ACB) library (IMS.ACBLIB). The ACB library is a consolidated library of program (PSB) and database (DBD) descriptions.
7573

76-
The IMS acb_lib must be used exclusively. The module can only be executed using an ACB library which is not concurrently allocated to an active IMS system.
74+
The IMS acb\_lib must be used exclusively. The module can only be executed using an ACB library which is not concurrently allocated to an active IMS system.
7775

7876
| **required**: True
7977
| **type**: str
@@ -82,7 +80,7 @@ acb_lib
8280
psb_lib
8381
The ACB Maintenance utility receives input from the IMS PSBLIB data set.
8482

85-
The ACB Maintenance utility does not change the PS**s** in PSBLIB. If changes are made in PSBs or DBDs that require changes in the associated PSB, make these changes before running the module.
83+
The ACB Maintenance utility does not change the PSB(s) in PSBLIB. If changes are made in PSBs or DBDs that require changes in the associated PSB, make these changes before running the module.
8684

8785
Changes in PSBs might also require modifications to the affected application programs. For example, if a DBD has a segment name changed, all PSBs which are sensitive to that segment must have their SENSEG statements changed.
8886

@@ -102,11 +100,11 @@ dbd_lib
102100
103101

104102
steplib
105-
Points to the IMS SDFSRESL data set, which contains the IMS nucleus and required IMS modules. If STEPLIB is unauthorized by having unauthorized libraries that are concatenated to SDFSRESL, you must specify the *reslib* parameter.
103+
Points to the IMS SDFSRESL data set, which contains the IMS nucleus and required IMS modules. If STEPLIB is unauthorized by having unauthorized libraries that are concatenated to SDFSRESL, you must specify the \ :emphasis:`reslib`\ parameter.
106104

107-
The steplib parameter can also be specified in the target inventory's environment_vars.
105+
The steplib parameter can also be specified in the target inventory's environment\_vars.
108106

109-
The steplib input parameter to the module will take precedence over the value specified in the environment_vars.
107+
The steplib input parameter to the module will take precedence over the value specified in the environment\_vars.
110108

111109
| **required**: False
112110
| **type**: list
@@ -122,11 +120,11 @@ reslib
122120
123121

124122
build_psb
125-
Specifies whether ims_acb_gen rebuilds all PSBs that reference a changed DBD in the *dbdname* parameter.
123+
Specifies whether ims\_acb\_gen rebuilds all PSBs that reference a changed DBD in the \ :emphasis:`dbdname`\ parameter.
126124

127-
TRUE indicates that ims_acb_gen rebuilds all PSBs that reference the changed DBD on the *dbdname* parameter.
125+
TRUE indicates that ims\_acb\_gen rebuilds all PSBs that reference the changed DBD on the \ :emphasis:`dbdname`\ parameter.
128126

129-
FALSE indicates that ims_acb_gen does not rebuild PSBs that reference the changed DBD if the changed DBD does not change the physical structure of the database.
127+
FALSE indicates that ims\_acb\_gen does not rebuild PSBs that reference the changed DBD if the changed DBD does not change the physical structure of the database.
130128

131129
| **required**: False
132130
| **type**: bool
@@ -201,15 +199,15 @@ Notes
201199
-----
202200

203201
.. note::
204-
The *steplib* parameter can also be specified in the target inventory's environment_vars.
202+
The \ :emphasis:`steplib`\ parameter can also be specified in the target inventory's environment\_vars.
205203

206-
The *steplib* input parameter to the module will take precedence over the value specified in the environment_vars.
204+
The \ :emphasis:`steplib`\ input parameter to the module will take precedence over the value specified in the environment\_vars.
207205

208-
If only the *steplib* parameter is specified, then only the *steplib* concatenation will be used to resolve the IMS RESLIB dataset.
206+
If only the \ :emphasis:`steplib`\ parameter is specified, then only the \ :emphasis:`steplib`\ concatenation will be used to resolve the IMS RESLIB dataset.
209207

210-
If both *steplib* and *reslib* are specified, then both parameters will be used by the ACB Maintenenace Utility and *reslib* will be used to resolve the IMS RESLIB dataset.
208+
If both \ :emphasis:`steplib`\ and \ :emphasis:`reslib`\ are specified, then both parameters will be used by the ACB Maintenenace Utility and \ :emphasis:`reslib`\ will be used to resolve the IMS RESLIB dataset.
211209

212-
Specifying only *reslib* without *steplib* is not supported.
210+
Specifying only \ :emphasis:`reslib`\ without \ :emphasis:`steplib`\ is not supported.
213211

214212
The ACB Maintenenace utility SYSUT3/SYSUT4 DD options are not supported by this module.
215213

@@ -224,7 +222,7 @@ Return Values
224222

225223

226224
msg
227-
Execution result message from the ims_acb_gen module.
225+
Execution result message from the ims\_acb\_gen module.
228226

229227
| **returned**: always
230228
| **type**: str
@@ -254,7 +252,7 @@ changed
254252
debug
255253
additional messages returned from ZOAU.
256254

257-
For more information, refer to the `ZOAU messages documentation <https://www.ibm.com/support/knowledgecenter/en/SSKFYE_1.0.0/bgy.html>`_
255+
For more information, refer to the \ `ZOAU messages documentation <https://www.ibm.com/support/knowledgecenter/en/SSKFYE_1.0.0/bgy.html>`__\
258256

259257
| **returned**: always
260258
| **type**: str

docs/source/modules/ims_ddl.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ proclib
6666
steplib
6767
Points to IMS.SDFSRESL, which contains the IMS nucleus and required IMS modules.
6868

69-
The steplib parameter can also be specified in the target inventory's environment_vars.
69+
The steplib parameter can also be specified in the target inventory's environment\_vars.
7070

71-
The steplib input parameter to the module will take precedence over the value specified in the environment_vars.
71+
The steplib input parameter to the module will take precedence over the value specified in the environment\_vars.
7272

7373
| **required**: False
7474
| **type**: list
@@ -133,7 +133,7 @@ Examples
133133

134134

135135
- name: Example of DDL statements are in a dataset
136-
ims_data_definition:
136+
ims_ddl:
137137
online: True
138138
ims_id: IMS1
139139
reslib:
@@ -144,7 +144,7 @@ Examples
144144
- SOME.IMS.PROCLIB
145145
sql_input: SOME.IMS.SQL
146146
- name: Example of DDL statements in which VERBOSE and AUTOCOMMIT control options are specified
147-
ims_data_definition:
147+
ims_ddl:
148148
online: True
149149
ims_id: IMS1
150150
reslib:
@@ -158,7 +158,7 @@ Examples
158158
auto_commit: true
159159

160160
- name: Example of DDL statements in which SIMULATE control options is specified
161-
ims_data_definition:
161+
ims_ddl:
162162
online: True
163163
ims_id: IMS1
164164
reslib:
@@ -171,7 +171,7 @@ Examples
171171
simulate: true
172172

173173
- name: Example of DDL statements in which DYNAMIC_PROGRAMVIEW control option is specified
174-
ims_data_definition:
174+
ims_ddl:
175175
online: True
176176
ims_id: IMS1
177177
reslib:
@@ -191,13 +191,13 @@ Notes
191191
-----
192192

193193
.. note::
194-
The *steplib* parameter can also be specified in the target inventory's environment_vars.
194+
The \ :emphasis:`steplib`\ parameter can also be specified in the target inventory's environment\_vars.
195195

196-
The *steplib* input parameter to the module will take precedence over the value specified in the environment_vars.
196+
The \ :emphasis:`steplib`\ input parameter to the module will take precedence over the value specified in the environment\_vars.
197197

198-
If only the *steplib* parameter is specified, then only the *steplib* concatenation will be used to resolve the IMS RESLIB data set.
198+
If only the \ :emphasis:`steplib`\ parameter is specified, then only the \ :emphasis:`steplib`\ concatenation will be used to resolve the IMS RESLIB data set.
199199

200-
Specifying only *reslib* without *steplib* is not supported.
200+
Specifying only \ :emphasis:`reslib`\ without \ :emphasis:`steplib`\ is not supported.
201201

202202
Currently ddl error messages are returned within the content block of the module response.
203203

docs/source/release_notes.rst

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,46 @@
66
Releases
77
========
88

9+
10+
Version 1.3.0
11+
====================
12+
13+
Notes
14+
-----
15+
16+
* Update recommended
17+
18+
* type() was replaced by isinstance() in the code for gen utilities since ansible-core 2.16 supports Python 3.12 and that version deprecated type() function.
19+
* No other changes from version 1.3.0-beta.1 release. Collection promoted to certified content with version 1.3.0.
20+
21+
Availability
22+
------------
23+
24+
* `Automation Hub`_
25+
* `Galaxy`_
26+
* `GitHub`_
27+
28+
Reference
29+
---------
30+
31+
* Supported by IBM z/OS core collection v1.5.0 or later
32+
* Supported by IBM Z Open Enterprise Python for z/OS 3.9 - 3.12
33+
* Supported by IBM Z Open Automation Utilities 1.2.2 or later (but prior to 1.3)
34+
35+
* ZOAU minimum supported version may vary depending on the z/OS core collection version that is chosen. For details on z/OS core collection requirements, see: https://github.com/ansible-collections/ibm_zos_core/releases
36+
* Supported by z/OS V2R4 (or later) but prior to version V3R1
37+
* The z/OS® shell
38+
39+
.. _centralized content:
40+
https://ibm.github.io/z_ansible_collections_doc/index.html
41+
42+
.. _GitHub:
43+
https://github.com/ansible-collections/ibm_zos_ims
44+
45+
.. _Galaxy:
46+
https://galaxy.ansible.com/ibm/ibm_zos_ims
47+
48+
949
Version 1.3.0-beta.1
1050
====================
1151

@@ -43,7 +83,9 @@ Reference
4383
* Supported by IBM z/OS core collection v1.5.0 or later
4484
* Supported by IBM Z Open Enterprise Python for z/OS: 3.9 or later
4585
* Supported by IBM Z Open Automation Utilities 1.2.2 or later (but prior to 1.3)
46-
* Supported by z/OS V2R4
86+
87+
* ZOAU minimum supported version may vary depending on the z/OS core collection version that is chosen. For details on z/OS core collection requirements, see: https://github.com/ansible-collections/ibm_zos_core/releases
88+
* Supported by z/OS V2R4 (or later) but prior to version V3R1
4789
* The z/OS® shell
4890

4991
.. _centralized content:

galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace: ibm
66
name: ibm_zos_ims
77

88
# The collection version
9-
version: 1.3.0-beta.1
9+
version: 1.3.0
1010

1111
# Collection README file
1212
readme: README.md
@@ -33,7 +33,7 @@ tags: [ibm, z, zos, z_os, core, zos_core, data_set, jcl, uss, mvs, ims, zos_ims,
3333

3434
# Collections that this collection requires to be installed for it to be usable.
3535
dependencies:
36-
"ibm.ibm_zos_core": ">=1.5.0"
36+
"ibm.ibm_zos_core": ">=1.5.0"
3737

3838
# The URL of the originating SCM repository
3939
repository: https://github.com/ansible-collections/ibm_zos_ims

meta/execution-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
################################################################################
88
dependencies:
99
python: requirements-zos-ims.txt
10-
version: 1
10+
version: 1

meta/runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
requires_ansible: '>=2.14.0'
2+
requires_ansible: '>=2.14.0'

plugins/module_utils/ims_gen_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def execute_gen_command(source, dest, syslib_list, run_command, module, result):
328328
return src, return_code, return_text, failed
329329

330330
for item in source['member_list']:
331-
if type(item) == str:
331+
if isinstance(item, str):
332332
# set target name same as src
333333
src_member = item
334334
target_name = item

0 commit comments

Comments
 (0)