diff --git a/plugins/modules/zos_apf.py b/plugins/modules/zos_apf.py index dd97fe605..9df0e607a 100644 --- a/plugins/modules/zos_apf.py +++ b/plugins/modules/zos_apf.py @@ -349,7 +349,7 @@ def backupOper(module, src, backup, tmphlq=None): file_type = 'USS' if file_type != 'USS' and file_type not in DS_TYPE: - message = "{0} data set type is NOT supported".format(str(file_type)) + message = "{0} data set type of {1} is NOT supported".format(str(file_type), src) module.fail_json(msg=message) # backup can be True(bool) or none-zero length string. string indicates that backup_name was provided.