Skip to content

[Enhancement] [zos_copy] Support disposition share (DSP=SHR) / copy force #735

Closed
@storfibm

Description

@storfibm

Is there an existing issue for this?

  • There are no existing issues.

Ansible module

zos_copy

Enhancement or feature description

Presently, zos_copy does not support interactions with data sets that are already in use by other processes (DSP=SHR). Copy operations that involve such dispositions will error out even when users know that it is safe to perform the overwrite. This effort seeks to introduce the ability to proceed with operations via a force flag or similar, still giving the user the choice.

Dependency
Depends on ZOAU's upcoming dcp force option

Acceptance Criteria
Given a z/OS core collection user
When zos_copy is invoked
Then user has the ability to force the operation to proceed even when other processes have a lock

Requirements
-Incorporate functionality into force behavior and provide appropriate feedback
-Provide sufficient warnings within the zos_copy module and other documentation collateral
-Works with sequential, PDS/E and member data set operations

Metadata

Metadata

Labels

EnhancementEnhancement to existing collection content

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions