zowe-cli
zowe-cli copied to clipboard
Question: How does `zowe jobs submit uss-file` handle encoding ?
Should it follow the same encoding practices as zowe files download uss-file
?
Originally asked during the Zowe System Demo on 06/20/2022)
Hi,
Yes, it should, both for submitting a job and for downloading outputs.
In addition, it is logical: when zowe zos-files
download a JCL from the remote z/OS system, it is converted according to the encoding declared on the Zowe CLI profile.
So when submitted, it must be converted back the other way by the zowe zos-jobs
command, otherwise the result will be inconsistent, especially on sysins.
Note that this will introduce a change from using the 3270 terminal for those using a code page other than IBM-037.
For example, I use the IBM-1147 codepage in my 3270 terminal: I have to transcode certain characters such as the $ character which becomes the £ character in my terminal.
If zowe zos-jobs
enforces the encoding rules, I could encode a $ character, which will remain a $ character when submitting, and also a $ character when retrieving outputs.
See also #1463
Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.