With the purpose of handling data (including job-log) containing Japanese characters, one of our clients is trying to set a combination of z/OSMF custom and standard headers (as mentioned below) while making use of various roles in ibm_zos_zosmf Ansible collection.
We understand that in case of role - zmf_job_complete, header values can be assigned using a combination of role variables: -
job_jcl_location
job_internal_reader_mode
job_internal_reader_class
job_internal_reader_recfm
job_internal_reader_lrecl
However, there is no role variable defined to set X-IBM-Intrdr-File-Encoding.
Mentioned below are the queries we have with regards to current functionality of ibm_zos_zosmf collection: -
Is there a way/ work-around to explicitly set the values of z/OSMF individual (custom, standard) headers inside Ansible ibm_zos_zosmf roles?
Is there a way to set custom header X-IBM-Intrdr-File-Encoding to a specific encoding scheme inside zmf_job_complete and zmf_job_query roles? This is similar to setting value for encoding parameter for zos_job_submit module. In our case, the value is IBM-939.
PS: Our client is able to handle data containing Japanese characters by making z/OSMF RESTful API calls through a Python script and looking forward to emulate the same behavior using Ansible ibm_zos_zosmf collection. If you need to look into the functioning of Python script, please let me know and I'll share the specifics.
Good day team,
With the purpose of handling data (including job-log) containing Japanese characters, one of our clients is trying to set a combination of z/OSMF custom and standard headers (as mentioned below) while making use of various roles in ibm_zos_zosmf Ansible collection.
We understand that in case of role - zmf_job_complete, header values can be assigned using a combination of role variables: -
However, there is no role variable defined to set X-IBM-Intrdr-File-Encoding.
Mentioned below are the queries we have with regards to current functionality of ibm_zos_zosmf collection: -
PS: Our client is able to handle data containing Japanese characters by making z/OSMF RESTful API calls through a Python script and looking forward to emulate the same behavior using Ansible ibm_zos_zosmf collection. If you need to look into the functioning of Python script, please let me know and I'll share the specifics.
Many thanks.