-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zos-files - Apply rules defined by .zosattributes to all dataset and uss file transfers #1463
Comments
Hi, The case of job submission or retrieval of job outputs is special. A job contains JCL commands which must be recognized by the z/OS system, which only understands the IBM-037 EBCDIC, and user data (parameters, sysin) which must follow the default encoding of the site, which is the encoding defined on the Terminal 3270. If you want operation identical to Terminal 3270 mode, then you must apply the encoding defined in the Zowe CLI profile used, which should be identical to the encoding declared on a Terminal 3270, even if it means using it locally on the command lines JCL characters that are not those that would be encoded in a data file. If the job is submitted from a local file, with a file extension, the conversion options declared in the .zosattributes file must be applied: compatibility between the download of the JCL file and the submission of this JCL file on z/OS which is the equivalent of an upload. For the recovery of job execution outputs, you must use the encoding of the Zowe CLI profile to be compatible with Terminal 3270 mode. |
Thank you for raising this enhancement request. |
Hi,
Whether for uss files or for mvs datasets, the data encoding is not necessarily the one declared at the Zowe CLI profile level:
The encoding conversion rules between the remote z/os system and the local system defined by the .zosattributes file should be applied to all mvs dataset and uss file transfers.
To date, they are only applied to upload transfers of multiple uss files (full directory transfer: dir-to-uss).
In all cases, for uss files, the encoding specified at the file level takes precedence.
A priority should be applied to take into account the encoding of conversions during transfers, from the highest priority to the lowest priority.
For remote encoding on the z/OS system:
For local encoding:
For job submit from local-file or stdin (upload equivalent):
For job output retrieving (download or view):
The text was updated successfully, but these errors were encountered: