ansible-collections / ibm_zos_core

Red Hat Ansible Certified Content for IBM Z
75 stars 44 forks source link

[Enhancement] [zos_mvs_raw] Generate a name for a temporary data set for `dd_data_set` if `data_set_name` is not provided. #1506

Open ketankelkar opened 1 month ago

ketankelkar commented 1 month ago

Is there an existing issue for this?

Enhancement or feature description

Have the data_set_name sub-option in the dd_data_set module sub-option be optional. If left blank, the code should call mvstmp to generate a temporary data set name and pass that into current code logic.

Scenario: User wants to leverage dd_data_set with a temporary data set.

As-is:

To-be:

The idea for this enhancement came out of the ansible-z-collections-guild channel - CSLEJ8VGV/p1715619684032219?thread_ts=1715596457.843399&cid=CSLEJ8VGV

Ansible module

zos_mvs_raw