Skip to content

[Enhancement][zos_copy] Need other behavior when copying a GDG to another GDG #2018

@vcorfmatibm

Description

@vcorfmatibm

Is there an existing issue for this?

  • There are no existing issues.

Enhancement or feature description

In use case of Wazi Deploy we want the customer to be able to back up and restore (in case of failure) a GDG with the same properties. A sort of "mirror" of a source.
Could we have a mirror option to copy a GDG to another GDG with the same properties which includes keeping the same GDS names.

Currently when copying a GDG to another GDG the absolute names of the data sets will be:

USER.GDG.TEST1
USER.GDG.TEST1.G0004V00
USER.GDG.TEST1.G0005V00
USER.GDG.TEST1.G0006V00

but when copying to a destination that is resulting in:

USER.GDG.TEST1
USER.GDG.TEST1.G0001V00
USER.GDG.TEST1.G0002V00
USER.GDG.TEST1.G0003V00

However when copying to another not defined GDG in ZOAU the resulting GDG will be:

USER.GDG.TEST1
USER.GDG.TEST1.G0004V00
USER.GDG.TEST1.G0005V00
USER.GDG.TEST1.G0006V00

Ansible module

zos_copy

Metadata

Metadata

Labels

EnhancementEnhancement to existing collection contentPost plan issueAdded to a quarter after planning was completed, thus unplanned.Was triagedAn item that went through the triage process.

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions