Skip to content

Commit 1c54a20

Browse files
Update the doc on SDTRAN (#171)
* Update the doc on SDTRAN * Auto-generated rst changes * Fix sanity test Signed-off-by: Stewart Francis <[email protected]> --------- Signed-off-by: Stewart Francis <[email protected]> Co-authored-by: Stewart Francis <[email protected]>
1 parent 70f9db9 commit 1c54a20

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Docs generated under source/modules are automatically generated.
22
Other .rst files have to be manually updated
3-
If you are running in a devcontainer, you can run 'update-docs.py' to generate updates to the modules .rst documents
3+
If you are running in a devcontainer, you can run 'ansible-doc-extractor-collections.py' to generate updates to the modules .rst documents
44
Otherwise, you will need to run 'pip install -r /workspace/collections/ansible_collections/ibm/ibm_zos_cics/doc-requirements.txt'
5-
Then run, 'apt-get updates' followed by 'apt-get install make' before you can run 'update-docs.py'
5+
Then run, 'apt-get updates' followed by 'apt-get install make' before you can run 'ansible-doc-extractor-collections.py'

docs/source/modules/stop_region.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Synopsis
2222
--------
2323
- Stop a CICS region by issuing a CEMT PERFORM SHUTDOWN command, or by canceling the job through the :literal:`jobs.cancel` utility provided by Z Open Automation Utilities (ZOAU). You can choose the shutdown mode from NORMAL, IMMEDIATE, or CANCEL.
2424
- The :literal:`job\_id`\ , :literal:`job\_name`\ , or both can be used to shut down a CICS region. If mulitple jobs are running with the same name, the :literal:`job\_id` is required.
25-
- During a NORMAL or IMMEDIATE shutdown, a shutdown assist transaction should run to enable CICS to shut down in a controlled manner. By default, the CICS-supplied shutdown assist transaction, CESD is used. You can specify a custom shutdown assist transaction in the SDTRAN system initialization parameter. The task runs until the region has successfully shut down, or until the shutdown fails.
25+
- During a NORMAL or IMMEDIATE shutdown, a shutdown assist transaction should run to enable CICS to shut down in a controlled manner. By default, the shutdown assist transaction specified in the SDTRAN system initialization parameter is used. If this is not set, the CICS-supplied shutdown assist transaction, CESD, is used instead. The task runs until the region has successfully shut down, or until the shutdown fails.
2626
- You must have a console installed in the CICS region so that the stop\_region module can communicate with CICS. To define a console, you must install a terminal with the CONSNAME attribute set to your TSO user ID. For detailed instructions, see \ `Defining TSO users as console devices <https://www.ibm.com/docs/en/cics-ts/latest?topic=cics-defining-tso-users-as-console-devices>`__. Add your console definition into one of the resource lists defined on the GRPLIST system initialization parameter so that it gets installed into the CICS region. Alternatively, you can use a DFHCSDUP script to update an existing CSD. This function is provided by the csd module.
2727
- You can specify a timeout, in seconds, for CICS shutdown processing. After a request to stop CICS is issued, if CICS shutdown processing is not completed when this timeout is reached, the module completes in a failed state. By default, the stop\_region module does not use a timeout, that is, the :literal:`timeout` parameter assumes a value of -1.
2828

@@ -88,7 +88,7 @@ no_sdtran
8888
sdtran
8989
The 4-character identifier of the shutdown assist transaction.
9090

91-
The default shutdown transaction, if neither SDTRAN nor NOSDTRAN is specified, is CESD.
91+
If neither SDTRAN nor NOSDTRAN is specified, the value specified in the SDTRAN SIT parameter is used; or if this has not been set, the CICS-supplied shutdown assist transaction, CESD, is used instead.
9292

9393

9494
| **required**: False

plugins/modules/stop_region.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
Z Open Automation Utilities (ZOAU). You can choose the shutdown mode from NORMAL, IMMEDIATE, or CANCEL.
1717
- The O(job_id), O(job_name), or both can be used to shut down a CICS region. If mulitple jobs are running with the same name, the O(job_id) is required.
1818
- During a NORMAL or IMMEDIATE shutdown, a shutdown assist transaction should run to enable CICS to shut down in a controlled manner.
19-
By default, the CICS-supplied shutdown assist transaction, CESD is used. You can specify a custom shutdown assist transaction in the
20-
SDTRAN system initialization parameter. The task runs until the region has successfully shut down, or until the shutdown fails.
19+
By default, the shutdown assist transaction specified in the SDTRAN system initialization parameter is used. If this is not set,
20+
the CICS-supplied shutdown assist transaction, CESD, is used instead. The task runs until the region has successfully shut down,
21+
or until the shutdown fails.
2122
- You must have a console installed in the CICS region so that the stop_region module can communicate with CICS. To define a console,
2223
you must install a terminal with the CONSNAME attribute set to your TSO user ID. For detailed instructions, see
2324
L(Defining TSO users as console devices,https://www.ibm.com/docs/en/cics-ts/latest?topic=cics-defining-tso-users-as-console-devices).
@@ -60,7 +61,8 @@
6061
sdtran:
6162
description:
6263
- The 4-character identifier of the shutdown assist transaction.
63-
- The default shutdown transaction, if neither SDTRAN nor NOSDTRAN is specified, is CESD.
64+
- If neither SDTRAN nor NOSDTRAN is specified, the value specified in the SDTRAN SIT parameter is used; or if this has not been set, the
65+
CICS-supplied shutdown assist transaction, CESD, is used instead.
6466
type: str
6567
required: false
6668
no_sdtran:

0 commit comments

Comments
 (0)