Topics
Release Date: '2024-06-11' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_apf - Enhanced error messages when an exception is caught. (#1204).
- zos_backup_restore - Add tmp_hlq option to the user interface to override the default high level qualifier (HLQ) for temporary and backup. (#1265).
- zos_copy - Documented group and owner options. (#1307).
- zos_copy - Improve zos_copy performance when copying multiple members from one PDS/E to another. (#1183).
- zos_archive - option
terse_pack
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_archive - suboption
record_format
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_archive - suboption
space_type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_archive - suboption
type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_backup_restore - option
space_type
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_copy - suboption
record_format
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_copy - suboption
space_type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_copy - suboption
type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_data_set - option
record_format
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_data_set - option
space_type
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_data_set - option
type
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_data_set - options inside
batch
no longer accept uppercase choices, users should replace them with lowercase ones. (#1388). - zos_job_submit - option
location
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mount - option
automove
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mount - option
fs_type
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mount - option
mount_opts
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mount - option
tag_untagged
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mount - option
unmount_opts
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - options inside
dd_concat
no longer accept uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - suboption
record_format
ofdd_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - suboption
record_format
ofdd_unix
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - suboption
space_type
ofdd_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - suboption
type
ofdd_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_mvs_raw - suboptions
disposition_normal
anddisposition_abnormal
ofdd_data_set
no longer acceptcatlg
anduncatlg
as choices. This also applies when defining add_data_set
insidedd_concat
. (#1388). - zos_unarchive - suboption
record_format
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_unarchive - suboption
space_type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388). - zos_unarchive - suboption
type
ofdest_data_set
no longer accepts uppercase choices, users should replace them with lowercase ones. (#1388).
- module_utils/job.py - job output containing non-printable characters would crash modules. Fix now handles the error gracefully and returns a message to the user inside content of the ddname that failed. (#1261).
- zos_apf - List option only returned one data set. Fix now returns the list of retrieved data sets. (#1204).
- zos_blockinfile - Using double quotation marks inside a block resulted in a false positive result with ZOAU 1.3. Fix now handles this special case to avoid false negatives. (#1340).
- zos_find - Filter size failed if a PDS/E matched the pattern. Fix now gets the correct size for PDS/Es. (#1443).
- zos_job_submit - Was ignoring the default value for location=DATA_SET, now when location is not specified it will default to DATA_SET. (#1220).
- zos_job_submit - when the argument max_rc was different than 0 the changed response returned as false. Fix now return a changed response as true when the rc is not 0 and max_rc is above or equal to the value of the job. (#1345).
- zos_mvs_raw - The module ignored the value of tmp_hlq option when creating temporary data sets. Fix now honors the value if provided and uses it as High Level Qualifier for temporary data sets created during the module execution. (#1320).
Release Date: '2024-03-11' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_job_submit - when job statuses were read, were limited to AC (active), CC (completed normally), ABEND (ended abnormally) and ? (error unknown), SEC (security error), JCLERROR (job had a jcl error). Now the additional statuses are supported, CANCELLED (job was cancelled), CAB (converter abend), CNV (converter error), SYS (system failure) and FLU (job was flushed). (#1283).
- zos_apf - Improves exception handling if there is a failure parsing the command response when operation selected is list. (#1036).
- zos_copy - Improve zos_copy performance when copying multiple members from one PDS/E to another. (#1176).
- zos_job_output - When passing a job ID and owner the module take as mutually exclusive. Change now allows the use of a job ID and owner at the same time. (#1078).
- zos_job_submit - Improve error messages in zos_job_submit to be clearer. (#1074).
- zos_job_submit - The module had undocumented parameter and uses as temporary file when the location of the file is LOCAL. Change now uses the same name as the src for the temporary file removing the addition of tmp_file to the arguments. (#1091).
- zos_job_submit - The module handling ZOAU import errors obscured the original traceback when an import error ocurred. Fix now passes correctly the context to the user. (#1091).
- zos_mvs_raw - when using the dd_input content option for instream-data, if the content was not properly indented according to the program which is generally a blank in columns 1 & 2, those columns would be truncated. Now, when setting instream-data, the module will ensure that all lines contain a blank in columns 1 and 2 and add blanks when not present while retaining a maximum length of 80 columns for any line. This is true for all content types; string, list of strings and when using a YAML block indicator. (#1057). - zos_mvs_raw - no examples were included with the module that demonstrated using a YAML block indicator, this now includes examples using a YAML block indicator.
- zos_tso_command - add example for executing explicitly a REXX script from a data set. (#1065).
- module_utils/job.py - job output containing non-printable characters would crash modules. Fix now handles the error gracefully and returns a message to the user inside content of the ddname that failed. (#1288).
- zos_apf - When operation=list was selected and more than one data set entry was fetched, the module only returned one data set. Fix now returns the complete list. (#1236).
- zos_copy - When copying an executable data set with aliases and destination did not exist, destination data set was created with wrong attributes. Fix now creates destination data set with the same attributes as the source. (#1066).
- zos_copy - When performing a copy operation to an existing file, the copied file resulted in having corrupted contents. Fix now implements a workaround to not use the specific copy routine that corrupts the file contents. (#1064).
- zos_data_set - Fixes a small parsing bug in module_utils/data_set function which extracts volume serial(s) from a LISTCAT command output. Previously a leading '-' was left behind for volser strings under 6 chars. (#1247).
- zos_job_output - When passing a job ID or name less than 8 characters long, the module sent the full stack trace as the module's message. Change now allows the use of a shorter job ID or name, as well as wildcards. (#1078).
- zos_job_query - The module handling ZOAU import errors obscured the original traceback when an import error ocurred. Fix now passes correctly the context to the user. (#1042).
- zos_job_query - When passing a job ID or name less than 8 characters long, the module sent the full stack trace as the module's message. Change now allows the use of a shorter job ID or name, as well as wildcards. (#1078).
- zos_job_submit - Was ignoring the default value for location=DATA_SET, now when location is not specified it will default to DATA_SET. (#1120).
- zos_job_submit - when a JCL error occurred, the ret_code[msg_code] contained JCLERROR followed by an integer where the integer appeared to be a reason code when actually it is a multi line marker used to coordinate errors spanning more than one line. Now when a JCLERROR occurs, only the JCLERROR is returned for property ret_code[msg_code]. (#1283).
- zos_job_submit - when a response was returned, it contained an undocumented property; ret_code[msg_text]. Now when a response is returned, it correctly returns property ret_code[msg_txt]. (#1283).
- zos_job_submit - when typrun=copy was used in JCL it would fail the module with an improper message and error condition. While this case continues to be considered a failure, the message has been corrected and it fails under the condition that not enough time has been added to the modules execution. (#1283).
- zos_job_submit - when typrun=hold was used in JCL it would fail the module with an improper message and error condition. While this case continues to be considered a failure, the message has been corrected and it fails under the condition that not enough time has been added to the modules execution. (#1283).
- zos_job_submit - when typrun=jchhold was used in JCL it would fail the module with an improper message and error condition. While this case continues to be considered a failure, the message has been corrected and it fails under the condition that not enough time has been added to the modules execution. (#1283).
- zos_job_submit - when typrun=scan was used in JCL, it would fail the module. Now typrun=scan no longer fails the module and an appropriate message is returned with appropriate return code values. (#1283).
- zos_job_submit - when wait_time_s was used, the duration would run approximately 5 second longer than reported in the duration. Now the when duration is returned, it is the actual accounting from when the job is submitted to when the module reads the job output. (#1283).
- zos_operator - The module handling ZOAU import errors obscured the original traceback when an import error ocurred. Fix now passes correctly the context to the user. (#1042).
- zos_unarchive - Using a local file with a USS format option failed when sending to remote because dest_data_set option had an empty dictionary. Fix now leaves dest_data_set as None when using a USS format option. (#1045).
- zos_unarchive - When unarchiving USS files, the module left temporary files on the remote. Change now removes temporary files. (#1073).
Release Date: '2023-12-08' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- module_utils/template - Add validation into path joins to detect unauthorized path traversals. (#1029)
- zos_archive - Add validation into path joins to detect unauthorized path traversals. (#1029)
- zos_archive - Enhanced test cases to use test lines the same length of the record length. (#965)
- zos_copy - Add validation into path joins to detect unauthorized path traversals. (#962)
- zos_copy - Add new option force_lock that can copy into data sets that are already in use by other processes (DISP=SHR). User needs to use with caution because this is subject to race conditions and can lead to data loss. (#980).
- zos_copy - includes a new option executable that enables copying of executables such as load modules or program objects to both USS and partitioned data sets. When the dest option contains a non-existent data set, zos_copy will create a data set with the appropriate attributes for an executable. (#804)
- zos_copy - introduces a new option 'aliases' to enable preservation of member aliases when copying data to partitioned data sets (PDS) destinations from USS or other PDS sources. Copying aliases of text based members to/from USS is not supported. (#1014)
- zos_fetch - Add validation into path joins to detect unauthorized path traversals. (#962)
- zos_job_submit - Change action plugin call from copy to zos_copy. (#951)
- zos_job_submit - Previous code did not return output, but still requested job data from the target system. This changes to honor return_output=false by not querying the job dd segments at all. (#1063).
- zos_operator - Changed system to call 'wait=true' parameter to zoau call. Requires zoau 1.2.5 or later. (#976)
- zos_operator_action_query - Add a max delay of 5 seconds on each part of the operator_action_query. Requires zoau 1.2.5 or later. (#976)
- zos_script - Add support for remote_tmp from the Ansible configuration to setup where temporary files will be created, replacing the module option tmp_path. (#1068).
- zos_tso_command - Add example for executing explicitly a REXX script from a data set. (#1072).
- zos_unarchive - Add validation into path joins to detect unauthorized path traversals. (#1029)
- zos_unarchive - Enhanced test cases to use test lines the same length of the record length. (#965)
- zos_blockinfile debug - is deprecated in favor of 'as_json' (#904).
- zos_copy - Update option limit to include LIBRARY as dest_dataset/suboption value. Documentation updated to reflect this change. (#968).
- zos_copy - When copying an executable data set from controller to managed node, copy operation failed with an encoding error. Fix now avoids encoding when executable option is selected. (#1079).
- zos_copy - When copying an executable data set with aliases and destination did not exist, destination data set was created with wrong attributes. Fix now creates destination data set with the same attributes as the source. (#1067).
- zos_copy - When performing a copy operation to an existing file, the copied file resulted in having corrupted contents. Fix now implements a workaround to not use the specific copy routine that corrupts the file contents. (#1069).
- zos_job_submit - Temporary files were created in tmp directory. Fix now ensures the deletion of files every time the module run. (#951)
- zos_job_submit - The last line of the jcl was missing in the input. Fix now ensures the presence of the full input in job_submit. (#952)
- zos_lineinfile - A duplicate entry was made even if line was already present in the target file. Fix now prevents a duplicate entry if the line already exists in the target file. (#916)
- zos_operator - The last line of the operator was missing in the response of the module. The fix now ensures the presence of the full output of the operator. #918)
- zos_operator - The module was ignoring the wait time argument. The module now passes the wait time argument to ZOAU. (#1063).
- zos_operator_action_query - The module was ignoring the wait time argument. The module now passes the wait time argument to ZOAU. (#1063).
- zos_unarchive - When zos_unarchive fails during unpack either with xmit or terse it does not clean the temporary data sets created. Fix now removes the temporary data sets. (#1054).
- Several modules have reported UTF8 decoding errors when interacting with results that contain non-printable UTF8 characters in the response. This occurs when a module receives content that does not correspond to a UTF-8 value. These include modules zos_job_submit, zos_job_output, zos_operator_action_query but are not limited to this list. This will be addressed in ibm_zos_core version 1.10.0-beta.1. Each case is unique, some options to work around the error are below. - Specify that the ASA assembler option be enabled to instruct the assembler to use ANSI control characters instead of machine code control characters. - Add ignore_errors:true to the playbook task so the task error will not fail the playbook. - If the error is resulting from a batch job, add ignore_errors:true to the task and capture the output into a variable and extract the job ID with a regular expression and then use zos_job_output to display the DD without the non-printable character such as the DD JESMSGLG. (#677) (#776) (#972)
- With later versions of ansible-core used with ibm_zos_core collection a warning has started to appear "Module "ansible.builtin.command" returned non UTF-8 data in the JSON response" that is currently being reviewed. There are no recommendations at this point. (#983)
- ibm.ibm_zos_core.zos_script - Run scripts in z/OS
Release Date: '2023-10-09' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_copy - Previously, backups were taken when force was set to false; whether or not a user specified this operation which caused allocation issues with space and permissions. This removes the automatic backup performed and reverts to the original logic in that backups must be initiated by the user. (#896)
- Add support for Jinja2 templates in zos_copy and zos_job_submit when using local source files. (#667)
- zos_archive - If destination data set space is not provided then the module computes it based on the src list and/or expanded src list based on pattern provided. (#930).
- zos_archive - When xmit faces a space error in xmit operation because of dest or log data set are filled raises an appropriate error hint. (#930).
- zos_copy - Adds block_size, record_format, record_length, space_primary, space_secondary, space_type and type in the return output when the destination data set does not exist and has to be created by the module. (#773)
- zos_data_set - record format = 'F' has been added to support 'fixed' block records. This allows records that can use the entire block. (#821)
- zos_job_output - zoau added 'program_name' to their field output starting with v1.2.4. This enhancement checks for that version and passes the extra column through. (#841)
- zos_job_query - Adds new fields job_class, svc_class, priority, asid, creation_datetime, and queue_position to the return output when querying or submitting a job. Available when using ZOAU v1.2.3 or greater. (#778)
- zos_job_query - unnecessary calls were made to find a jobs DDs that incurred unnecessary overhead. This change removes those resulting in a performance increase in job related queries. (#911)
- zos_job_query - zoau added 'program_name' to their field output starting with v1.2.4. This enhancement checks for that version and passes the extra column through. (#841)
- zos_job_submit - zoau added 'program_name' to their field output starting with v1.2.4. This enhancement checks for that version and passes the extra column through. (#841)
- zos_unarchive - When copying to remote fails now a proper error message is displayed. (#930).
- zos_unarchive - When copying to remote if space_primary is not defined, then is defaulted to 5M. (#930).
- module_utils - data_set.py - Reported a failure caused when cataloging a VSAM data set. Fix now corrects how VSAM data sets are cataloged. (#791).
- zos_archive - Module did not return the proper src state after archiving. Fix now displays the status of the src after the operation. (#930).
- zos_blockinfile - Test case generate a data set that was not correctly removed. Changes delete the correct data set not only member. (#840)
- zos_copy - Module returned the dynamic values created with the same dataset type and record format. Fix validate the correct dataset type and record format of target created. (#824)
- zos_copy - Reported a false positive such that the response would have changed=true when copying from a source (src) or destination (dest) data set that was in use (DISP=SHR). This change now displays an appropriate error message and returns changed=false. (#794).
- zos_copy - Reported a warning about the use of _play_context.verbosity.This change corrects the module action to prevent the warning message. (#806).
- zos_copy - Test case for recursive encoding directories reported a UTF-8 failure. This change ensures proper test coverage for nested directories and file permissions. (#806).
- zos_copy - Zos_copy did not encode inner content inside subdirectories once the source was copied to the destination. Fix now encodes all content in a source directory, including subdirectories. (#772).
- zos_copy - kept permissions on target directory when copy overwrote files. The fix now set permissions when mode is given. (#795)
- zos_data_set - Reported a failure caused when present=absent for a VSAM data set leaving behind cluster components. Fix introduces a new logical flow that will evaluate the volumes, compare it to the provided value and if necessary catalog and delete. (#791).
- zos_fetch - Reported a warning about the use of _play_context.verbosity.This change corrects the module action to prevent the warning message. (#806).
- zos_job_output - Error message did not specify the job not found. Fix now specifies the job_id or job_name being searched to ensure more information is given back to the user. (#747)
- zos_operator - Reported a failure caused by unrelated error response. Fix now gives a transparent response of the operator to avoid false negatives. (#762).
- ibm.ibm_zos_core.zos_archive - Archive files and data sets on z/OS.
- ibm.ibm_zos_core.zos_unarchive - Unarchive files and data sets in z/OS.
Release Date: '2023-06-23' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_volume_init - Introduces new module to handle volume (or minidisk) initialization. (#654)
- Updated the text converter import from "from ansible.module_utils._text" to "from ansible.module_utils.common.text.converters" to remove warning".. warn Use ansible.module_utils.common.text.converters instead.". (#602)
- module_utils - job.py utility did not support positional wiled card placement, this enhancement uses fnmatch logic to support wild cards.
- zos_copy - Fixed a bug where the module would change the mode for a directory when copying into it the contents of another. (#723)
- zos_copy - was enhanced to keep track of modified members in a destination dataset, restoring them to their previous state in case of a failure. (#551)
- zos_data_set - add force parameter to enable member delete while pdse is in use (#718).
- zos_job_query - ansible module does not support positional wild card placement for job_name1 or `job_id. This enhancement allows embedded wildcards throughout the job_name and job_id. (#721)
- zos_lineinfile - would access data sets with exclusive access so no other task can read the data, this enhancement allows for a data set to be opened with a disposition set to share so that other tasks can access the data when option force is set to true. (#731)
- zos_tso_command - was enhanced to accept max_rc as an option. This option allows a non-zero return code to succeed as a valid return code. (#666)
- Fixed wrong error message when a USS source is not found, aligning with a similar error message from zos_blockinfile "{src} does not exist".
- module_utils - data_set.py - Reported a failure caused when cataloging a VSAM data set. Fix now corrects how VSAM data sets are cataloged. (#816).
- zos_blockinfile - was unable to use double quotes which prevented some use cases and did not display an approriate message. The fix now allows for double quotes to be used with the module. (#680)
- zos_copy - Encoding normalization used to handle newlines in text files was applied to binary files too. Fix makes sure that binary files bypass this normalization. (#810)
- zos_copy - Fixes a bug where files not encoded in IBM-1047 would trigger an error while computing the record length for a new destination dataset. Issue 664. (#743)
- zos_copy - Fixes a bug where the code for fixing an issue with newlines in files (issue 599) would use the wrong encoding for normalization. Issue 678. (#743)
- zos_copy - Reported a warning about the use of _play_context.verbosity.This change corrects the module action to prevent the warning message. (#814).
- zos_copy - kept permissions on target directory when copy overwrote files. The fix now set permissions when mode is given. (#790)
- zos_data_set - Reported a failure caused when present=absent for a VSAM data set leaving behind cluster components. Fix introduces a new logical flow that will evaluate the volumes, compare it to the provided value and if necessary catalog and delete. (#816).
- zos_encode - fixes a bug where converted files were not tagged afterwards with the new code set. (#534)
- zos_fetch - Reported a warning about the use of _play_context.verbosity.This change corrects the module action to prevent the warning message. (#814).
- zos_find - fixes a bug where find result values stopped being returned after first value in a list was 'not found'. (#668)
- zos_gather_facts - Fixes an issue in the zoau version checker which prevented the zos_gather_facts module from running with newer versions of ZOAU. (#797)
- zos_lineinfile - Fixed a bug where a Python f-string was used and thus removed to ensure support for Python 2.7 on the controller. (#659)
- ibm.ibm_zos_core.zos_volume_init - Initialize volumes or minidisks.
Release Date: '2023-04-21' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- ibm_zos_core - Updates the entire collection in that the collection no longer depends on the managed node having installed System Display and Search Facility (SDSF). Remove SDSF dependency from ibm_zos_core collection. (#303).
- module utility jobs - was updated to remove the usage of REXX and replaced with ZOAU python APIs. This reduces code replication and it removes the need for REXX interpretation which increases performance. (#312).
- module utils backup - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- module utils dd_statement- updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- module utils encode - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_apf - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_blockinfile - fixes a bug when using double quotes in the block text of the module. When double quotes appeared in block text, the module would error differently depending on the usage of option insertafter. Examples of this error have return code 1 or 16 along with message "ZOAU dmod return content is NOT in json format" and a varying stderr. (#303).
- zos_blockinfile - updates the module with a new option named force. This allows for a user to specify that the data set can be shared with others during an update which results in the data set you are updating to be simultaneously updated by others. (#316).
- zos_blockinfile - updates the module with a new option named indentation. This allows for a user to specify a number of spaces to prepend to the content before being inserted into the destination. (#317).
- zos_blockinfile - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_copy - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_data_set - Ensures that temporary datasets created by zos_data_set use the tmp_hlq specified. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#491).
- zos_encode - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_fetch - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_gather_facts - is a new module that can discover facts about the managed z/OS target. This module leverages the zinfo utility offered by ZOAU. (#322).
- zos_job_output - was updated to leverage the latest changes that removes the REXX code by calling the module utility jobs. (#312).
- zos_job_query - was updated to leverage the latest changes that removes the REXX code by calling the module utility jobs. (#312).
- zos_job_query - was updated to use the jobs module utility. (#312).
- zos_job_submit - The architecture changed such that the entire modules execution time now captured in the duration time which includes job submission and log collection. If a job does not return by the default 10 sec 'wait_time_s' value, it can be increased up to 86400 seconds. (#389).
- zos_job_submit - behavior changed when a volume is defined in the module options such that it will catalog the data set if it is not cataloged and submit the job. In the past, the function did not catalog the data set and instead performed I/O operations and then submitted the job. This behavior aligns to other module behaviors and reduces the possibility to encounter a permissions issue. (#389).
- zos_job_submit - was updated to include an additional error code condition JCLERR. (#312)
- zos_lineinfile - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_mount - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_mvs_raw - Ensures that temporary datasets created by DD Statements use the tmp_hlq specified. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#414).
- zos_mvs_raw - updates the module with a new option named tmp_hlq. This allows for a user to specify the data set high level qualifier (HLQ) used in any temporary data set created by the module. Often, the defaults are not permitted on systems, this provides a way to override the defaults. (#341).
- zos_operator - added in the response the cmd result (#389).
- zos_operator - added in the response the elapsed time (#389).
- zos_operator - added in the response the wait_time_s set (#389).
- zos_operator - deprecated the wait option, not needed with wait_time_s minor_changes (#389).
- zos_operator - was updated to remove the usage of REXX and replaced with ZOAU python APIs. This reduces code replication and it removes the need for REXX interpretation which increases performance. (#312).
- zos_encode - deprecates the module options from_encoding and to_encoding to use suboptions from and to in order to remain consistent with all other modules. (#345).
- zos_job_submit - Response 'message' property has been deprecated, all responses are now in response property 'msg'. (#389).
- zos_job_submit - The 'wait' option has been deprecated because using option 'wait_time_s' implies the job is going to wait. (#389).
- zos_copy - Copy failed from a loadlib member to another loadlib member. Fix now looks for error in stdout in the if statement to use -X option. (#641)
- zos_copy - Fixed a bug where the module would change the mode for a directory when copying into it the contents of another. (#746)
- zos_copy - Fixes a bug such that the module fails when copying files from a directory needing also to be encoded. The failure would also delete the src which was not desirable behavior. Fixes deletion of src on encoding error. (#321).
- zos_copy - Fixes a bug where copying a member from a loadlib to another loadlib fails. (#640)
- zos_copy - Fixes a bug where files not encoded in IBM-1047 would trigger an error while computing the record length for a new destination dataset. Issue 664. (#725)
- zos_copy - Fixes a bug where if a destination has accented characters in its content, the module would fail when trying to determine if it is empty. (#634)
- zos_copy - Fixes a bug where the code for fixing an issue with newlines in files (issue 599) would use the wrong encoding for normalization. Issue 678. (#725)
- zos_copy - Fixes a bug where the computed record length for a new destination dataset would include newline characters. (#620)
- zos_copy - Fixes wrongful creation of destination backups when module option force is true, creating emergency backups meant to restore the system to its initial state in case of a module failure only when force is false. (#590)
- zos_copy - module was updated to correct a bug in the case when the destination (dest) is a PDSE and the source (src) is a Unix Systems File (USS). The module would fail in determining if the PDSE actually existed and try to create it when it already existed resulting in an error that would prevent the module from correctly executing. (#327)
- zos_data_set - Fixes a bug such that the module will delete a catalogued data set over an uncatalogued data set even though the volume is provided for the uncataloged data set. This is unexpected behavior and does not align to documentation; correct behavior is that when a volume is provided that is the first place the module should look for the data set, whether or not it is cataloged. (#325).
- zos_data_set - Fixes a bug where the default record format FB was actually never enforced and when enforced it would cause VSAM creation to fail with a Dynalloc failure. Also cleans up some of the options that are set by default when they have no bearing for batch. (#647)
- zos_fetch - Updates the modules behavior when fetching VSAM data sets such that the maximum record length is now determined when creating a temporary data set to copy the VSAM data into and a variable-length (VB) data set is used. (#350)
- zos_job_output - Fixes a bug that returned all ddname's when a specific ddnamae was provided. Now a specific ddname can be returned and all others ignored. (#334)
- zos_job_query - was updated to correct a boolean condition that always evaluated to "CANCELLED". (#312).
- zos_job_submit - Fixes the issue when wait_time_s was set to 0 that would result in a type error that a stack trace would result in the response, issue 670. (#683)
- zos_job_submit - Fixes the issue when a job encounters a security exception no job log would would result in the response, issue 684. (#683)
- zos_job_submit - Fixes the issue when a job is configured for a syntax check using TYPRUN=SCAN that it would wait the full duration set by wait_time_s to return a response, issue 685. (#683)
- zos_job_submit - Fixes the issue when a job is configured for a syntax check using TYPRUN=SCAN that no job log would result in the response, issue 685. (#683)
- zos_job_submit - Fixes the issue when a job is purged by the system that a stack trace would result in the response, issue 681. (#683)
- zos_job_submit - Fixes the issue when invalid JCL syntax is submitted that a stack trace would result in the response, issue 623. (#683)
- zos_job_submit - Fixes the issue when resources (data sets) identified in JCL did not exist such that a stack trace would result in the response, issue 624. (#683)
- zos_job_submit - Fixes the issue where the response did not include the job log when a non-zero return code would occur, issue 655. (#683)
- zos_mount - Fixes option tag_ccsid to correctly allow for type int. (#511)
- zos_mvs_raw - module was updated to correct a bug when no DD statements were provided. The module when no option was provided for dds would error, a default was provided to correct this behavior. (#336)
- zos_operator - Fixes case sensitive error checks, invalid, error & unidentifiable (#389).
- zos_operator - Fixes such that specifying wait_time_s would throw an error (#389).
- zos_operator - Fixes the wait_time_s to default to 1 second (#389).
- zos_operator - fixed incorrect example descriptions and updated the doc to highlight the deprecated option wait. (#648)
- zos_operator - was updated to correct missing verbosity content when the option verbose was set to True. zos_operator - was updated to correct the trailing lines that would appear in the result content. (#400).
- ibm.ibm_zos_core.zos_gather_facts - Gather z/OS system facts.
Release Date: '2023-04-18' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_copy - Copy failed from a loadlib member to another loadlib member. Fix now looks for error in stdout in the if statement to use -X option. (#640)
- zos_copy - Fixed a bug where the module would change the mode for a directory when copying into it the contents of another. (#742)
- zos_copy - Fixes a bug where files not encoded in IBM-1047 would trigger an error while computing the record length for a new destination dataset. Issue 664. (#732)
- zos_copy - Fixes a bug where the code for fixing an issue with newlines in files (issue 599) would use the wrong encoding for normalization. Issue 678. (#732)
- zos_copy - fixed wrongful creation of destination backups when module option force is true, creating emergency backups meant to restore the system to its initial state in case of a module failure only when force is false. (#590)
- zos_copy - fixes a bug where the computed record length for a new destination dataset would include newline characters. (#620)
- zos_job_query - fixes a bug where a boolean was not being properly compared. (#379)
Release Date: '2022-12-07' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_copy was updated to support the ansible.builtin.ssh connection options; for further reference refer to the SSH plugin documentation.
- zos_copy was updated to take into account the record length when the source is a USS file and the destination is a data set with a record length. This is done by inspecting the destination data set attributes and using these attributes to create a new data set.
- zos_copy was updated with the capabilities to define destination data sets from within the zos_copy module. In the case where you are copying to a data set destination that does not exist, you can now do so using the new zos_copy module option destination.
- zos_fetch was updated to support the ansible.builtin.ssh connection options; for further reference refer to the SSH plugin documentation.
- zos_job_output was updated to to include the completion code (CC) for each individual job step as part of the ret_code response.
- zos_job_query was updated to handle when an invalid job ID or job name is used with the module and returns a proper response.
- zos_job_query was updated to support a 7 digit job number ID for when there are greater than 99,999 jobs in the history.
- zos_job_submit was enhanced to check for 'JCL ERROR' when jobs are submitted and result in a proper module response.
- zos_job_submit was updated to fail fast when a submitted job fails instead of waiting a predetermined time.
- zos_operator_action_query response messages were improved with more diagnostic information in the event an error is encountered.
- zos_ping was updated to remove the need for the zos_ssh connection plugin dependency.
- zos_copy - enhanced the force option when force=true and the remote file or data set dest is NOT empty, the dest will be deleted and recreated with the src data set attributes, otherwise it will be recreated with the dest data set attributes. (#306)
- zos_copy - enhanced to optimize how it captures the permission bits state for the dest. This change now reviews the source files instead of traversing the entire dest path. (#561)
- zos_copy - enhanced to support creating a parent directory when it does not exist in the dest path. Prior to this change, if a parent directory anywhere in the path did not exist the task would fail as it was stated in documentation. (#561)
- zos_copy - enhanced to support system symbols in PARMLIB. System symbols are elements that allow different z/OS® systems to share PARMLIB definitions while retaining unique values in those definitions. This was fixed in a future release through the use of one of the ZOAU dependency but this version of ibm_zos_core does not support that dependency version so this support was added. (#566)
- zos_copy - fixes a bug that when a directory is copied from the controller to the managed node and a mode is set, the mode is applied to the directory on the managed node. If the directory being copied contains files and mode is set, mode will only be applied to the files being copied not the pre-existing files. (#306)
- zos_copy - fixes a bug where options were not defined in the module argument spec that will result in error when running ansible-core v2.11 and using options force or mode. (#496)
- zos_copy - introduced an updated creation policy referred to as precedence rules such that if dest_data_set is set, this will take precedence. If dest is an empty data set, the empty data set will be written with the expectation its attributes satisfy the copy. If no precedent rule has been exercised, dest will be created with the same attributes of src. (#306)
- zos_copy - introduced new computation capabilities such that if dest is a nonexistent data set, the attributes assigned will depend on the type of src. If src is a USS file, dest will have a Fixed Block (FB) record format and the remaining attributes will be computed. If src is binary, dest will have a Fixed Block (FB) record format with a record length of 80, block size of 32760, and the remaining attributes will be computed. (#306)
- zos_copy - option dest_dataset has been deprecated and removed in favor of the new option dest_data_set. (#306)
- zos_copy - was enhanced for when src is a directory and ends with "/", the contents of it will be copied into the root of dest. It it doesn't end with "/", the directory itself will be copied. (#496)
- zos_copy and zos_fetch option sftp_port has been deprecated. To set the SFTP port, use the supported options in the ansible.builtin.ssh plugin. Refer to the SSH port option to configure the port used during the modules SFTP transport.
- zos_copy module option model_ds has been removed. The model_ds logic is now automatically managed and data sets are either created based on the src data set or overridden by the new option destination_dataset.
- zos_ssh connection plugin has been removed, it is no longer required. You must remove all playbook references to connection ibm.ibm_zos_core.zos_ssh.
- zos_copy - fixes a bug that did not create a data set on the specified volume. (#306)
- zos_copy - fixes a bug where a number of attributes were not an option when using dest_data_set. (#306)
- zos_job_output - fixes a bug that returned all ddname's when a specific ddname was provided. Now a specific ddname can be returned and all others ignored. (#507)
- zos_job_output was updated to correct possible truncated responses for the ddname content. This would occur for jobs with very large amounts of content from a ddname.
- zos_mount - fixed option tag_ccsid to correctly allow for type int. (#502)
- zos_operator - enhanced to allow for MVS operator SET command, SET is equivalent to the abbreviated T command. (#501)
- zos_ssh - connection plugin was updated to correct a bug in Ansible that
- would result in playbook task retries overriding the SSH connection retries. This is resolved by renaming the zos_ssh option retries to reconnection_retries. The update addresses users of ansible-core v2.9 which continues to use retries and users of ansible-core v2.11 or later which uses reconnection_retries. This also resolves a bug in the connection that referenced a deprecated constant. (#328)
- ibm.ibm_zos_core.zos_mount - Mount a z/OS file system.
Release Date: '2022-10-07' This changelog describes all changes made to the modules and plugins included in this collection. The release date is the date the changelog is created. For additional details such as required dependencies and availability review the collections release notes
- zos_copy - was enhanced for when src is a directory and ends with "/", the contents of it will be copied into the root of dest. If it doesn't end with "/", the directory itself will be copied. (#515)
- jobs.py - fixes a utility used by module zos_job_output that would truncate the DD content. (#462)
- zos_copy - fixes a bug that when a directory is copied from the controller to the managed node and a mode is set, the mode is now applied to the directory on the controller. If the directory being copied contains files and mode is set, mode will only be applied to the files being copied not the pre-existing files.(#462)
- zos_copy - fixes a bug where options were not defined in the module argument spec that will result in error when running ansible-core 2.11 and using options force or mode. (#462)
- zos_fetch - fixes a bug where an option was not defined in the module argument spec that will result in error when running ansible-core 2.11 and using option encoding. (#462)
- zos_job_submit - fixes a bug where an option was not defined in the module argument spec that will result in error when running ansible-core 2.11 and using option encoding. (#462)
- zos_ssh - fixes connection plugin which will error when using ansible-core 2.11 with an AttributeError module 'ansible.constants' has no attribute 'ANSIBLE_SSH_CONTROL_PATH_DIR'. (#462)
- zos_ssh - fixes connection plugin which will error when using ansible-core 2.11 with an AttributeError module 'ansible.constants' has no attribute 'ANSIBLE_SSH_CONTROL_PATH_DIR'. (#513)
Release Date: '2022-03-06' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- zos_ssh - connection plugin was updated to correct a bug in Ansible that
- would result in playbook task retries overriding the SSH connection retries. This is resolved by renaming the zos_ssh option retries to reconnection_retries. The update addresses users of ansible-core v2.9 which continues to use retries and users of ansible-core v2.11 or later which uses reconnection_retries. This also resolves a bug in the connection that referenced a deprecated constant. (#328)
Release Date: '2022-26-04' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- zos_copy was updated to correct deletion of all temporary files and unwarranted deletes. - When the module would complete, a cleanup routine did not take into account that other processes had open temporary files and thus would error when trying to remove them. - When the module would copy a directory (source) from USS to another USS directory (destination), any files currently in the destination would be deleted. The modules behavior has changed such that files are no longer deleted unless the force option is set to true. When force=true, copying files or a directory to a USS destination will continue if it encounters existing files or directories and overwrite any corresponding files.
- zos_job_query was updated to correct a boolean condition that always evaluated to "CANCELLED". - When querying jobs that are either CANCELLED or have FAILED, they were always treated as CANCELLED.
Release Date: '2022-27-04' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- zos_ping was updated to support Automation Hub documentation generation.
- zos_ssh connection plugin was updated to prioritize the execution of modules written in REXX over other implementations such is the case for zos_ping.
- When executing programs using zos_mvs_raw, you may encounter errors that originate in the implementation of the programs. Two such known issues are noted below of which one has been addressed with an APAR. - zos_mvs_raw module execution fails when invoking Database Image Copy 2 Utility or Database Recovery Utility in conjunction with FlashCopy or Fast Replication. - zos_mvs_raw module execution fails when invoking DFSRRC00 with parm "UPB,PRECOMP", "UPB, POSTCOMP" or "UPB,PRECOMP,POSTCOMP". This issue is addressed by APAR PH28089.
Release Date: '2021-19-04' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- New Playbooks
- Authorize and synchronize APF authorized libraries on z/OS from a configuration file cloned from GitHub
- Automate program execution with copy, sort and fetch data sets on z/OS playbook.
- Automate user management with add, remove, grant permission, generate passwords, create zFS, mount zFS and send email notifications when deployed to Ansible Tower or AWX with the manage z/OS Users Using Ansible playbook.
- Use the configure Python and ZOAU Installation playbook to scan the z/OS target to find the latest supported configuration and generate inventory and a variables configuration.
- Automate software management with SMP/E Playbooks
- All modules support relative paths and remove choice case sensitivity.
- zos_data_set added support to allocate and format zFS data sets.
- zos_operator supports new options wait and wait_time_s such that you can specify that zos_operator wait the full wait_time_s or return as soon as the first operator command executes.
- Action plugin zos_copy was updated to support Python 2.7.
- Job utility is an internal library used by several modules. It has been updated to use a custom written parsing routine capable of handling special characters to prevent job related reading operations from failing when a special character is encountered.
- Module zos_copy was updated to fail gracefully when a it encounters a non-zero return code.
- Module zos_copy was updated to support copying data set members that are program objects to a PDSE. Prior to this update, copying data set members would yield an error; - FSUM8976 Error writing <src_data_set_member> to PDSE member <dest_data_set_member>
- Module zos_job_submit referenced a non-existent option and was corrected to wait_time_s.
- Module zos_job_submit was updated to remove all trailing r from jobs that are submitted from the controller.
- Module zos_tso_command support was added for when the command output contained special characters.
- Playbook zos_operator_basics.yaml has been updated to use end in the WTO reply over the previous use of cancel. Using cancel is not a valid reply and results in an execution error.
- When executing programs using zos_mvs_raw, you may encounter errors that originate in the implementation of the programs. Two such known issues are noted below of which one has been addressed with an APAR. - zos_mvs_raw module execution fails when invoking Database Image Copy 2 Utility or Database Recovery Utility in conjunction with FlashCopy or Fast Replication. - zos_mvs_raw module execution fails when invoking DFSRRC00 with parm "UPB,PRECOMP", "UPB, POSTCOMP" or "UPB,PRECOMP,POSTCOMP". This issue is addressed by APAR PH28089.
- ibm.ibm_zos_core.zos_apf - Add or remove libraries to Authorized Program Facility (APF)
- ibm.ibm_zos_core.zos_backup_restore - Backup and restore data sets and volumes
- ibm.ibm_zos_core.zos_blockinfile - Manage block of multi-line textual data on z/OS
- ibm.ibm_zos_core.zos_data_set - Manage data sets
- ibm.ibm_zos_core.zos_find - Find matching data sets
Release Date: '2020-10-09' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes.
Beginning this release, all playbooks previously included with the collection will be made available on the playbook repository.
- Documentation related to configuration has been migrated to the playbook repository
- Python 2.x support
- zos_copy - fixed regex support, dictionary merge operation fix
- zos_encode - removed TemporaryDirectory usage.
- zos_fetch - fix quote import
- ibm.ibm_zos_core.zos_lineinfile - Manage textual data on z/OS
Release Date: '2020-26-01' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- Documentation updates
- Improved error handling and messages
- New Filter that will filter a list of WTOR messages based on message text.
- ibm.ibm_zos_core.zos_encode - Perform encoding operations.
- ibm.ibm_zos_core.zos_fetch - Fetch data from z/OS
- ibm.ibm_zos_core.zos_mvs_raw - Run a z/OS program.
- ibm.ibm_zos_core.zos_operator - Execute operator command
- ibm.ibm_zos_core.zos_operator_action_query - Display messages requiring action
- ibm.ibm_zos_core.zos_ping - Ping z/OS and check dependencies.
- ibm.ibm_zos_core.zos_tso_command - Execute TSO commands
Release Date: '2020-18-03' This changlelog describes all changes made to the modules and plugins included in this collection. For additional details such as required dependencies and availablity review the collections release notes
- Documentation updates
- Module zos_data_set catalog support added
- Improved test, security and injection coverage
- Security vulnerabilities fixed
- ibm.ibm_zos_core.zos_copy - Copy data to z/OS
- ibm.ibm_zos_core.zos_job_output - Display job output
- ibm.ibm_zos_core.zos_job_query - Query job status
- ibm.ibm_zos_core.zos_job_submit - Submit JCL