Not all mvs data sets necessarily use the same ccsid #1589
Labels
community-upvoted
enhancement
New feature or request
priority-medium
Not functioning - next quarter if capacity permits
Is your feature request related to a problem? Please describe.
The mvs system does not explicitly manage the ccsid used for data management.
The ccsid is actually inherited from the declaration made at the 3270 emulator.
So it is possible (not always easily) to have mvs data sets that contain data that are encoded with another ccsid:
When Zowe Explorer transfers data between the z/OS server and the workstation, it always uses the ccsid declared in the Zowe CLI profile used to connect to the z/OS server. It should make it possible to manage the cases of exceptions which do not follow the ccsid declared in the Zowe CLI profile.
Describe the solution you'd like
Several enhancement could be made to Zowe Explorer.
These associations would be described in the User and Workspace settings.
In a Git operating context, (VS Code Workspace is a Git repository), Zowe Explorer could also use the
.zosattributes
and/or.gitattributes
file(s) and exploit the syntax implemented by RocketSoftware in its Git for z/ OS, (attributezos-working-tree-encoding
).Upon activation Zowe Explorer should prompt for the ccsid to use, for example ccsid 1208 for file UTF8 encoded.
We could even provide a pull without conversion, (ccsid=0), but not pure binary because it is necessary to keep the management of the end of lines. In this case you have to work on the file with an editor in "hexadecimal dump" mode and not in "text" mode.
In both cases, when pushing (saving) to the z/OS server, you must use the same ccsid as that used for pulling.
Describe alternatives you've considered
Download and upload files in Terminal mode with Zowe CLI interface, without going through Zowe Explorer...
Additional context
This does not apply to USS files which by default use the IBM-1047 encoding, otherwise explicitly declare the encoding used (and Zowe Explorer must take this into account).
The text was updated successfully, but these errors were encountered: