Skip to content

Commit 64c1be0

Browse files
authored
[Documentation] [zos_copy] Update block_size value in zos_copy docs (#2111)
* Update block_size value in zos_copy docs * Add changelog fragment * Fix changelog fragment
1 parent 37d80c7 commit 64c1be0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trivial:
2+
- zos_copy - Updated module documentation to reflect that binary destination data sets
3+
get allocated with a block size of 32720, instead of 32760.
4+
(https://github.com/ansible-collections/ibm_zos_core/pull/2111)

docs/source/modules/zos_copy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dest
9797

9898
If ``dest`` is a nonexistent data set, it will be created following the process outlined here and in the ``volume`` option.
9999

100-
If ``dest`` is a nonexistent data set, the attributes assigned will depend on the type of ``src``. If ``src`` is a USS file, ``dest`` will have a Fixed Block (FB) record format and the remaining attributes will be computed. If *is_binary=true*, ``dest`` will have a Fixed Block (FB) record format with a record length of 80, block size of 32760, and the remaining attributes will be computed. If *executable=true*,``dest`` will have an Undefined (U) record format with a record length of 0, block size of 32760, and the remaining attributes will be computed.
100+
If ``dest`` is a nonexistent data set, the attributes assigned will depend on the type of ``src``. If ``src`` is a USS file, ``dest`` will have a Fixed Block (FB) record format and the remaining attributes will be computed. If *is_binary=true*, ``dest`` will have a Fixed Block (FB) record format with a record length of 80, block size of 32720, and the remaining attributes will be computed. If *executable=true*,``dest`` will have an Undefined (U) record format with a record length of 0, block size of 32760, and the remaining attributes will be computed.
101101

102102
If ``src`` is a file and ``dest`` a partitioned data set, ``dest`` does not need to include a member in its value, the module can automatically compute the resulting member name from ``src``.
103103

plugins/modules/zos_copy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
- If C(dest) is a nonexistent data set, the attributes assigned will depend on the type of
116116
C(src). If C(src) is a USS file, C(dest) will have a Fixed Block (FB) record format and the
117117
remaining attributes will be computed. If I(is_binary=true), C(dest) will have a Fixed Block
118-
(FB) record format with a record length of 80, block size of 32760, and the remaining
118+
(FB) record format with a record length of 80, block size of 32720, and the remaining
119119
attributes will be computed. If I(executable=true),C(dest) will have an Undefined (U) record
120120
format with a record length of 0, block size of 32760, and the remaining attributes will be
121121
computed.

0 commit comments

Comments
 (0)