Releases
Version 2.0.0
Minor Changes
zos_backup_restoreAdds option access to specify how the module will access data sets and z/OS UNIX files when performing a backup or restore operation.
Adds option share to specify the module allow data set read access to other programs while backing up or restoring.
Adds option auth allows you to act as an administrator, where it will disable checking the current users privileges for z/OS UNIX files, data sets and catalogs.
Adds option compress option to enable compression of partitioned data sets using hardware compression if available.
Adds option terse option to modify the behavior of executing an AMATERSE step to compress the temporary data set for the backup.
Adds option disable_automatic_class to specify that automatic class selection routines will not be used to determine classes for provide list.
Adds option disable_automatic_storage_class to specify the automatic class selection routines will not be used to determine the source data set storage class.
Adds option disable_automatic_management_class to specify the automatic class selection routines will not be used to determine the source data set management class.
Adds option index that allows for the backup and restore of all the associated alternate index (AIX) clusters and paths of a VSAM.
Adds option output to specify how backup will be restored to the filesystem when operation=restore.
zos_data_setAdds option noscratch to allow uncataloging a data set without deleting it from the volume’s VTOC.
Adds return value data_sets which contains the attributes of all data sets created.
zos_encode- Adds new return value encoding that contains the from and to encoding values used in the operation.
Breaking Changes / Porting Guide
zos_apfSub-option persistent.data_set_name renamed to persistent.target (old name still accepted).
New return value: stdout_lines.
New return value: stderr_lines.
zos_archiveSub-option format.name renamed to format.type (old name still accepted).
Sub-option format.format_options renamed to format.options.
Sub-option format.format_options.use_adrdssu renamed to format.options.adrdssu.
Sub-option format.format_options.terse_pack renamed to format.options.spack (type changed from string to bool).
New return value: dest.
zos_backup_restoreModule option hlq renamed to output.hlq.
Module option sms_storage_class renamed to sms.storage_class.
Module option sms_management_class renamed to sms.management_class.
New module option: access (with suboptions: share, auth).
New module option: index.
New SMS suboptions: disable_automatic_class, disable_automatic_storage_class, disable_automatic_management_class.
zos_blockinfileModule option insertafter can be referenced as after.
Module option insertbefore can be referenced as before.
New return value: stdout_lines.
New return value: stderr_lines.
zos_copyModule option is_binary renamed to binary.
Module option force renamed to replace (note: force remains valid with different functionality).
Module option force_lock renamed to force.
zos_data_setReturn value names renamed to data_sets.
zos_fetchModule option is_binary renamed to binary.
Return value file renamed to src.
Return value is_binary renamed to binary.
Return value note renamed to msg.
New return value: encoding (with from/ to suboptions).
New return values: stdout, stderr, stdout_lines, stderr_lines.
zos_findModule option pds_patterns removed (and aliases pds_path, pds_pattern). In v1.x, this option was used to specify PDS/PDSE data sets to search for members. In v2.0.0, use the patterns option with PDS member syntax: DATASET.NAME(MEMBER*).
zos_job_outputModule option ddname renamed to dd_name (old name still accepted).
Return value ddnames renamed to dds.
Return value ddnames[].ddname renamed to dds[].dd_name.
Return value ret_code.steps moved to steps (moved from inside ret_code to job level).
zos_job_queryReturn value ret_code.steps moved to steps (moved from inside ret_code to job level).
Return value message removed (top-level return value).
zos_job_submitModule option location removed (choices: data_set, uss, local). Use new module option remote_src (boolean): location=data_set or location=uss → remote_src=true, location=local` → remote_src=false.
Module option wait_time_s renamed to wait_time.
Return value ddnames renamed to dds.
Return value ddnames[].ddname` renamed to dds[].dd_name.
Return value ret_code.steps moved to steps (moved from inside ret_code to job level).
zos_lineinfileModule option insertafter can be referenced as after.
Module option insertbefore can be referenced as before.
Return value return_content renamed to stdout.
New return values: stderr, stdout_lines, stderr_lines.
zos_mountSub-option persistent.data_store renamed to persistent.name (old name still accepted).
Sub-option persistent.comment renamed to persistent.marker (old name still accepted).
zos_operatorModule option wait_time_s renamed to wait_time (use in conjunction with new option time_unit).
Return value content removed (replaced by stdout, stderr, stdout_lines and stderr_lines).
Return value wait_time_s renamed to wait_time.
New module option: time_unit (choices: s, cs).
New return values: stdout, stdout_lines, stderr, stderr_lines, time_unit.
zos_operator_action_queryModule option use_regex renamed to literal (note: literal is the inverse of use_regex).
Module option message_filter renamed to msg_filter` (old name still accepted).
Module option message_id renamed to msg_id (old name still accepted).
Return value message_text renamed to msg_text.
Return value message_id renamed to msg_id.
zos_tso_commandReturn value content renamed to stdout.
Return value lines renamed to line_count.
New return values: stdout (string version), stdout_lines, stderr_lines.
zos_unarchiveSub-option format.name renamed to format.type.
Sub-option format.format_options renamed to format.options.
Sub-option format.format_options.use_adrdssu renamed to format.options.adrdssu.
Bugfixes
zos_backup_restore- Clarified documentation for temp_volume, including a known issue where operations fail if temp_volume matches source volume or is not specified.zos_fetch- Fixed an UnboundLocalError that could occur when source was missing. Fix initializes the is_member prior to data set existence checks, allowing the module to fail gracefully.zos_mount- Fixed an issue where using the persistent option could delete the entire member or data set even without a pattern match. Fix now only deletes content when a pattern match is found, preserving existing configuration.zos_started_task- System logs could not be fetched due to an internal variable name conflict. Fix renames the internal variable to distinguish the boolean control flag from the system_logs output variable.
New Filter Plugins
ibm.ibm_zos_core.generate_data_set_name- Filter HLQs to generate a new random valid data set name.ibm.ibm_zos_core.zos_stat_by_type- Filter down zos_stat output based on the type of resource that queried.
New Modules
zos_user- Manage z/OS user and group profiles in RACF.
New Roles
gather_diagnostics- Adds role that gathers comprehensive diagnostic information from both the Ansible control node and target z/OS managed nodes. The role collects system configuration, environment variables, installed packages, ZOAU and Python details, operator command output, and SSH configuration to aid in troubleshooting and support scenarios.job_status- Adds a role that provides a simple way to check the status of a z/OS job. It can be used to check the status of a job that is currently running, or to check the status of a job that has completed.playbook_upgrade_validator- Adds a role that scans playbooks in a directory and reports required actions to migrate from v1.x.x to v2.0.0.
Availability
Known Issues
Task line numbers in the playbook upgrade validator report rely on task names and may be ambiguous when duplicate task names exist within a playbook.
The playbook upgrade validator role runs on the control node (localhost) and does not require connection to z/OS systems.
Python 3 must be available on the control node for the validator to run.
Version 1.16.0
Minor Changes
zos_apf- Adds a new alias target for option data_set_name and a warning message that data_set_name will be deprecated in version 2.0.0.zos_archiveAdds a new alias adrdssu for option use_adrdssu and a warning message that use_adrdssu will be deprecated in version 2.0.0.
Adds a new alias options for option format_options and a warning message that format_options will be deprecated in version 2.0.0.
Adds a new alias type for option name and a warning message that name will be deprecated in version 2.0.0.
zos_backup_restoreAdds compress option to enable compression of partitioned data sets using hardware compression if available.
Adds terse option to modify the behavior of executing an AMATERSE step to compress the temporary data set for the backup.
zos_copyImproved error message that identifies if a copy operation fails when a GDS in the src GDG is being used by another process.
Adds a new alias binary for option is_binary and a warning message that is_binary will be deprecated in version 2.0.0.
Adds a new alias replace for option force and a warning message that force will be deprecated in version 2.0.0.
zos_data_setImproved error messages when creating or deleting a Generation Data Group fails.
Adds noscratch functionality into the scratch option. This allows a data set to be uncataloged without deleting it from the volume’s VTOC.
zos_fetch- Adds a new alias binary for option is_binary and a warning message that is_binary will be deprecated in version 2.0.0.zos_job_outputAdds a new alias dd_name for option ddname and a warning message that ddname will be deprecated on 2.0.0.
Adds support to query SYSIN DDs from a job with module option sysin_dd.
zos_job_submitAdds a new alias wait_time for option wait_time_s and a warning message that wait_time_s will be deprecated in version 2.0.0.
Adds support for jobs with TYPRUN=JCLHOLD and TYPRUN=HOLD.
zos_mountAdds a new alias marker for option comment and a warning message that comment will be deprecated in version 2.0.0.
Adds a new alias name for option data_store and a warning message that data_store will be deprecated in version 2.0.0.
zos_mvs_raw- Adds a new raw module option under dd_data_set that allows the MVS program to create datasets with its own DCB attributes without the user having to specify them.zos_operator- Adds a new alias wait_time for wait_time_s and a warning message that wait_time_s will be deprecated in version 2.0.0.zos_unarchiveAdds a new alias adrdssu for option use_adrdssu and a warning message that use_adrdss` will be deprecated in version 2.0.0.
Adds a new alias options for option format_options and a warning message that format_options will be deprecated in version 2.0.0.
Adds a new alias type for option name and a warning message that name will be deprecated in version 2.0.0.
New Modules
zos_started_task- Perform operations on started tasks such as start, display, modify, cancel, force and stop.
Availability
Known Issues
zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true when type=gdg and source GDS is a sequential data set in use.zos_copy- Copying program objects or load modules with module option executable=True may not retain an exact byte-for-byte match with source; functionality remains unaffected.
Version 1.15.1
Bugfixes
zos_backup_restore- Module documentation stated that default space_type for a backup was m but module would use bytes instead. Fix now uses the correct default space type. (https://github.com/ansible-collections/ibm_zos_core/pull/2391).zos_copy- When a data set name had the maximum length of 44 characters, a check to see if it is an alias would fail. Fix now solves this issue so that any valid data set name can be used as a source or destination. (https://github.com/ansible-collections/ibm_zos_core/pull/2391)zos_replace- Module would always write USS files in UTF-8 encoding regardless if an occurrence was found or not. Fix now writes the file with the provided encoding value only if an occurrence is found. (https://github.com/ansible-collections/ibm_zos_core/pull/2372).
Availability
Known Issues
zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true when type=gdg and source GDS is a sequential data set in use.
Version 1.15.0
Minor Changes
zos_archiveAdds support for encoding before archiving files.
Adds support for skipping encoding in archive module. This allows users to skip encoding for certain files before archiving them.
Adds support for reverting the encoding of a source’s files after archiving them.
zos_copyAdds new option identical_gdg_copy in the module. This allows copying GDG generations from a source base to a destination base while preserving generation data set absolute names when the destination base does not exist prior to the copy.
Adds support of using alias names in src and dest parameters for PS, PDS and PDSE data sets.
Added support for british pound character usage in file content and data set names for both source and destination when copying.
zos_fetch- Updated the documentation to correctly state what the default behavior of the module is.zos_findAdds functionality to find migrated data sets.
Adds functionality to find different types of data sets at the same time.
zos_job_output- Adds new fields cpu_time, origin_node and execution_node to response.zos_job_query- Adds new fields cpu_time, origin_node and execution_node to response.zos_job_submit- Adds new fields cpu_time, origin_node and execution_node to response.zos_mvs_rawBefore this addition, you could not put anything in columns 1 or 2, were reserved for JCL processing. Change now allows add reserved_cols option and validate that the module get access to modify dd_content option base on the value, if not retain the previous behavior or work.
Adds support for volume data definition.
zos_statAdded support to recall migrated data sets and return its attributes.
Adds new fields that describe the type of the resource that was queried. These new fields are isfile, isdataset, isaggregate and isgdg.
Adds support to query data sets using their aliases.
Module now returns whether the resource queried exists on the managed node with the exists field inside stat.
zos_unarchive- Added encoding support in the zos_unarchive module. This allows users to encode the files after unarchiving them.
Bugfixes
zos_backup_restore- Return value backup_name was empty upon successful result. Fix now returns backup_name populated.zos_data_set- Attempting to create a data set with the same name on a different volume did not work, nor did it report a failure. The fix now informs the user that if the data set is cataloged on a different volume, it needs to be uncataloged before using the data set module to create a new data set on a different volume.zos_fetch- Previously, the use of become would result in a permissions error while trying to fetch a data set or a member. Fix now allows a user to escalate privileges when fetching resources.zos_lineinfileReturn values return_content and backup_name were not always being returned. Fix now ensure that these values are always present in the module’s response.
The module would report a false negative when certain special characters where present in the line option. Fix now reports the successful operation.
zos_mount- FSUMF168 return in stderror means that the mount dataset wouldn’t resolve. While this shows a catalog or volume issue, it should not impact our search for an existing mount. Added handling to the df call, so that FSUMF168 are ignored.
New Modules
ibm.ibm_zos_core.zos_replace - Replace all instances of a pattern within a file or data set.
Availability
Known Issues
zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true when type=gdg and source GDS is a sequential data set in use.
Version 1.14.1
Bugfixes
zos_copy- Previously, if the Ansible user was not a superuser copying a file into the managed node resulted in a permission denied error. Fix now sets the correct permissions for the Ansible user for copying to the remote.zos_job_submit- Previously, if the Ansible user was not a superuser copying a file into the managed node resulted in a permission denied error. Fix now sets the correct permissions for the Ansible user for copying to the remote.zos_script- Previously, if the Ansible user was not a superuser copying a file into the managed node resulted in a permission denied error. Fix now sets the correct permissions for the Ansible user for copying to the remote.zos_unarchive- Previously, if the Ansible user was not a superuser copying a file into the managed node resulted in a permission denied error. Fix now sets the correct permissions for the Ansible user for copying to the remote.
Availability
Known Issues
zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true when type=gdg and source GDS is a sequential data set in use.
Version 1.14.0
Minor Changes
zos_copyAdds large as a choice for type in dest_data_set.
Adds logging of Jinja rendered template content when use_template is true and verbosity level -vvv is used.
Adds support for copying in asynchronous mode inside playbooks.
Removes the need to allow READ access to MVS.MCSOPER.ZOAU to execute the module by changing how the module checks if a data set is locked.
Previously, when trying to copy into remote and ansible’s default temporary directory was not created before execution the copy task would fail. Fix now creates the temporary directory if possible.
zos_job_output- Add execution_time return value in the modules response.zos_job_queryAdd execution_time return value in the modules response.
Loads correct bytes size value for dds when using zoau 1.3.4 or later
System and Subsystem are now retrieved from JES.
zos_job_submitAdds logging of Jinja rendered template content when use_template is true and verbosity level -vvv is used.
Add execution_time return value in the modules response.
Loads correct bytes size value for dds when using zoau 1.3.4 or later.
Previously, the use of become would result in a permissions error while trying to execute a job from a local file. Fix now allows a user to escalate privileges when executing a job transferred from the controller node.
zos_scriptAdds error message for when remote source does not exist.
Adds logging of Jinja rendered template content when use_template is true and verbosity level -vvv is used.
Adds support for running local and remote scripts in asynchronous mode inside playbooks.
Support automatic removal of carriage return line breaks [CR, CRLF] when copying local files to USS.
zos_stat- Adds support to query data sets using their aliases.zos_unarchive- Adds support for unarchiving files in asynchronous mode inside playbooks.zos_zfs_resize- Adds validations for trace destination dataset used for trace verbose.
Bugfixes
zos_apf- When trying to add a library into the APF list that was already added, the module would fail. Fix now will not fail the module, and will inform the user that the library is already on the APF list.zos_copyPreviously, if the dataset name included special characters such as $, validation would fail when force_lock was false. This has been changed to allow the use of special characters when force_lock option is false. - When
asa_textwas set to true at the same time asforce_lock, a copy would fail saying the destination was already in use. Fix now opens destination data sets up with disposition SHR whenforce_lockandasa_textare set to true.the carriage return characters were being removed from only first 1024 bytes of a file. Now fixed that issue to support removal of the carriage return characters from the complete file content if the file size is more than 1024 bytes.
zos_data_setModule would fail when trying to delete a non-existent Generation Data Group. Fix now provides a successful response with changed=false.
Module would fail with TypeError when trying to replace an existing GDG. Fix now allows to replacing a GDG.
zos_job_output- When searching for a job name, module performed a ‘*’ (find all), then filtered the results. Fix now asks for specific job name, making the return faster and more precise.zos_job_query- When searching for a job name, module performed a ‘*’ (find all), then filtered the results. Fix now asks for specific job name, making the return faster and more precise.zos_job_submit- When searching for a job name, module performed a ‘*’ (find all), then filtered the results. Fix now asks for specific job name, making the return faster and more precise.zos_mount- Module failed when using persistent option with a data set that contains non UTF-8 characters. Fix now can use a data set with non UTF-8 characters as data_store.
New Modules
ibm.ibm_zos_core.zos_stat - Retrieve facts from MVS data sets, USS files, aggregates and generation data groups.
Availability
Known Issues
zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true whentype=gdgand source GDS is a sequential data set in use.zos_copy- When elevating privileges using the become keyword, the module would attempt to connect using the elevated user id, if the user cannot connect to the managed node through ssh the module would fail.zos_job_submit- When elevating privileges using the become keyword, the module would attempt to connect using the elevated user id, if the user cannot connect to the managed node through ssh the module would fail.zos_script- When elevating privileges using the become keyword, the module would attempt to connect using the elevated user id, if the user cannot connect to the managed node through ssh the module would fail.zos_unarchive- When elevating privileges using the become keyword, the module would attempt to connect using the elevated user id, if the user cannot connect to the managed node through ssh the module would fail.zos_fetch- When elevating privileges using the become keyword, the module would attempt to connect using the elevated user id, if the user cannot connect to the managed node through ssh the module would fail.
Version 1.13.0
Minor Changes
zos_copyAdded new option autoescape to template_parameters, allowing users to disable autoescaping of common XML/HTML characters when working with Jinja templates.
Adds error message when a PDS/E source member does not exist or is not cataloged.
zos_job_submitAdd deploy and forget capability. Now when wait_time_s is 0, the module will submit the job and will not wait to get the job details or content, returning only the job id.
Added new option autoescape to template_parameters, allowing users to disable autoescaping of common XML/HTML characters when working with Jinja templates.
Added support to run zos_job_submit tasks in async mode inside playbooks.
zos_mvs_raw- Added max_rc option. Now when the user sets max_rc, the module tolerates the failure if the return code is smaller than themax_rcspecified, however, return valuechangedwill be False if the program return code is not 0.zos_script- Added new option autoescape to template_parameters, allowing users to disable autoescaping of common XML/HTML characters when working with Jinja templates.
Bugfixes
zos_copyImprove module zos_copy error handling when the user does not have universal access authority set to UACC(READ) for SAF Profile ‘MVS.MCSOPER.ZOAU’ and SAF Class OPERCMDS. The module now handles the exception and returns an informative message.
Previously, if the dataset name included special characters such as $, validation would fail when force_lock was false. This has been changed to allow the use of special characters when force_lock option is false.
Previously, if the dataset name included special characters such as $ and asa_text option is true, the module would fail. Fix now allows the use of special characters in the data set name when
asa_textoption is true.When asa_text was set to true at the same time as force_lock, a copy would fail saying the destination was already in use. Fix now opens destination data sets up with disposition SHR when
force_lockandasa_textare set to true.
zos_fetch- Some relative paths were not accepted as a parameter e.g. C(files/fetched_file). Change now allows the user to use different types of relative paths as a parameter.zos_findModule would not find VSAM data and index resource types. Fix now finds the data and index resource types.
Module would not find a VSAM cluster resource type if it was in use with DISP=OLD. Fix now finds the VSAM cluster.
zos_job_query- Module was not returning values for system and subsystem. Fix now returns these values.zos_mvs_rawIf a program failed with a non-zero return code and verbose was false, the module would succeed. Whereas, if the program failed and verbose was true the module would fail. Fix now has a consistent behavior and fails in both cases.
Module would not populate stderr return value. Fix now populates stderr in return values.
Module would obfuscate the return code from the program when failing returning 8 instead. Fix now returns the proper return code from the program.
Module would return the stderr content in stdout when verbose was true and return code was 0. Fix now does not replace stdout content with stderr.
Option tmp_hlq was not being used as HLQ when creating backup data sets. Fix now uses tmp_hlq as HLQ for backup data sets.
zos_script- When the user trying to run a remote script had execute permissions but wasn’t owner of the file, the module would fail while trying to change permissions on it. Fix now ensures the module first checks if the user can execute the script and only try to change permissions when necessary.
New Modules
ibm.ibm_zos_core.zos_zfs_resize - Resize a zfs data set.
Availability
Known Issues
zos_job_submit- when setting ‘location’ to ‘local’ and not specifying the from and to encoding, the modules defaults are not read leaving the file in its original encoding; explicitly set the encodings instead of relying on the default.zos_job_submit- when submitting JCL, the response value returned for byte_count is incorrect.zos_apf- When trying to remove a library that contains the ‘$’ character in the name for an APF(authorized program facility), the operation might fail.zos_copy- Copying from a sequential data set that is in use will result in a false positive and destination data set will be empty. The same is true when type=gdg and source GDS is a sequential data set in use.
Version 1.12.1
Bugfixes
zos_copyPreviously, if the dataset name included special characters such as $ and asa_text option is true, the module would fail. Fix now allows the use of special characters in the data set name when asa_text option is true.
Previously, if the dataset name included special characters such as $, validation would fail when force_lock was false. This has been changed to allow the use of special characters when force_lock option is false.
When asa_text was set to true at the same time as force_lock, a copy would fail saying the destination was already in use. Fix now opens destination data sets up with disposition SHR when force_lock and asa_text are set to true.
Availability
Known Issues
zos_job_submit- when setting ‘location’ to ‘local’ and not specifying the from and to encoding, the modules defaults are not read leaving the file in its original encoding; explicitly set the encodings instead of relying on the default.zos_job_submit- when submitting JCL, the response value returned for byte_count is incorrect.zos_apf- When trying to remove a library that contains the ‘$’ character in the name for an APF(authorized program facility), the operation will fail.zos_find- When trying to find a VSAM data set that is allocated with DISP=OLD using age filter the module will not find it.
Version 1.12.0
Minor Changes
zos_backup_restore- default behavior for module option hlq changed. When option operation is set to restore and the hlq is not provided, the original high level qualifiers in a backup will be used for a restore.zos_job_output- has added the address space type for a job returned as content_type in the module response.zos_job_query- has added the address space type for a job returned as content_type in the module response.zos_job_submit- has added the address space type for a job returned as content_type in the module response.zos_mvs_raw- updates the stdout and stderr when an unknown, unrecognized, or unrepresentable characters with the ‘replacement character’ (�), found in the Unicode standard at code point U+FFFD.zos_operator- has added the option case_sensitive, allowing the module to control the commands case.zos_script- updates the stdout and stderr when an unknown, unrecognized, or unrepresentable characters with the ‘replacement character’ (�), found in the Unicode standard at code point U+FFFD.zos_tso_command- updates the stdout and stderr when an unknown, unrecognized, or unrepresentable characters with the ‘replacement character’ (�), found in the Unicode standard at code point U+FFFD.
Bugfixes
zos_apf- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_archive- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_backup_restore- when a recoverable error was encountered and recover = True, the module would fail. The change now allows the module to recover.zos_blockinfilewhen the modules marker_begin and marker_end were set to the same value, the module would not delete the block. Now the module requires the marker_begin and marker_end to have different values.
module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option..
zos_copymodule option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.
module would fail if the user did not have Universal Access Authority for SAF Profile MVS.MCSOPER.ZOAU and SAF Class OPERCMDS. Now the module handles the exception and returns an informative message.
module would ignore the value set for remote_tmp in the Ansible configuration file. Now the module uses the value of remote_tmp or the default value ~/.ansible/tmp if none is given.
zos_data_set- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_encode- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_fetch- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_findModule would not find VSAM data and index resource types. Fix now finds the data and index resource types.
Module would not find a VSAM cluster resource type if it was in use with DISP=OLD. Fix now finds the VSAM cluster.
zos_job_output- module would raise an invalid argument error for a user ID that contained @, $, or #. Now the module supports RACF user naming conventions.zos_job_querymodule did not return values for properties system and subsystem. Now the module returns these values.
module would raise an invalid argument error for a user ID that contained @, $, or #. Now the module supports RACF user naming conventions.
zos_lineinfile- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_mount- module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.zos_mvs_rawModule sub-option base64 for return_content did not retrieve DD output as Base64. Now the module returns Base64 encoded contents for the DD.
Module would return the stderr content in stdout when verbose was true and return code was 0. Fix now does not replace stdout content with stderr.
Module would obfuscate the return code from the program when failing returning 8 instead. Fix now returns the proper return code from the program.
If a program failed with a non-zero return code and verbose was false, the module would succeed (false positive). Fix now fails the module for all instances where a program has a non-zero return code.
zos_script- Module would only read the first command line argument if more than one was used. Now the module passes all arguments to the remote command.zos_unarchive- Module option tmp_hlq was previously ignored and default values were used. Now the module uses the value set in the option.
Availability
Known Issues
zos_job_submit- When setting ‘location’ to ‘local’ and not specifying the from and to encoding, the modules defaults are not read leaving the file in its original encoding; explicitly set the encodings instead of relying on the default.zos_job_submit- When submitting JCL, the response value returned for byte_count is incorrect.zos_apf- When trying to remove a library that contains the ‘$’ character in the name for an APF(authorized program facility), the operation will fail.zos_find- When trying to find a VSAM data set that is allocated with DISP=OLD using age filter the module will not find it.
Version 1.11.1
Bugfixes
zos_mvs_rawIf a program failed with a non-zero return code and verbose was false, the module would succeed. Whereas, if the program failed and verbose was true the module would fail(false positive). Fix now has a consistent behavior and fails in both cases.
Module would obfuscate the return code from the program when failing returning 8 instead. Fix now returns the proper return code from the program.
Module would return the stderr content in stdout when verbose was true and return code was 0. Fix now does not replace stdout content with stderr.
Availability
Known Issues
zos_job_submit- When setting ‘location’ to ‘local’ and not specifying the from and to encoding, the modules defaults are not read leaving the file in its original encoding; explicitly set the encodings instead of relying on the default.zos_job_submit- When submitting JCL, the response value returned for byte_count is incorrect.zos_apf- When trying to remove a library that contains the ‘$’ character in the name from APF(authorized program facility), operation will fail.