Open ddimatos opened 1 year ago
maybe related to #924
https://www.ibm.com/docs/en/zos/2.1.0?topic=server-data-set-creation-attributes-syntax
pay special attention to recf - V, VB, VS, VBS and blocksizes too!
F | FB blksize = lrecl
V | VB blksize = lrecl + 4
VS | VBS blksize = 6160
Is there an existing issue for this?
Are the dependencies a supported version?
IBM Z Open Automation Utilities
v1.2.3
IBM Enterprise Python
v3.10.x
IBM z/OS Ansible core Version
v1.7.0
ansible-version
v2.14.x
z/OS version
v2.5
Ansible module
zos_copy
Bug description
This could be a documentation bug it it leans towards possibly some development and might be a bug in the code, so lets treat it as a bug for now.
When I read the documentation zos_copy documentation below, with regard to a dest not existing a few outcomes can happen.
If will depend on src, which is fine, if the src is a uss file the dest will have a fixed block (FB) record format, to me when i read the code it will have a VB format. See below why I say this.
Doc:
Noticed that the record format is only set for Binary and executable meaning the default value in get_data_set_attributes will be used which is VB. See also other code further down.
This issue is to evaluate if only the documentation needs updating, if Code:
I saw nothing that overrides the record_format default VB in the code, thus i think our doc is off, we need from this issue an evaluation of what I see and what was the intended format , VB or FB?
Playbook verbosity output.
No response
Ansible configuration.
No response
Contents of the inventory
No response
Contents of
group_vars
orhost_vars
No response