-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Describe the bug
When a JCL contains specific characters, either at the comment level or at the instream data flow level (sysin), these characters are incorrectly converted at the time of job submission, "Submit as JCL" function, and are also incorrectly converted by the "Get JCL" function.
This issue is relatively minor on comments, but it is major on instream data flow (sysin).
The JCL stream expected by z/OSMF should probably be encoded in UTF-8, and z/OSMF will take care of the translation to the correct encoding.
The API provides a header to declare the encoding to be applied: X-IBM-Intrdr-File-Encoding, IBM-1047 by default.
Zowe SDK supports this header a priori, but Zowe Explorer may not use it.
For retrieving spool files, the z/OSMF API provides a parameter fileEncoding=code-page, IBM-1047 by default.
Zowe SDK also supports this parameter a priori, does Zowe Explorer use it?
To Reproduce
Sample JCL before submit:
Expected behavior
Use the encoding specified in the Zowe profile to submit and retrieve information from z/OS after submission.
Screenshots
Submitted JCL on z/OS:
JESJCL view:
"Get JCL":
Desktop (please complete the following information):
- OS: Windows
- Zowe Explorer Version: 3.2.2
- (Optional) Zowe CLI Version: N/A
- (Optional) Do you have secure credentials enabled? default
- (Optional) Are you using a custom credential manager? no
Additional context
Metadata
Metadata
Assignees
Labels
Type
Projects
Status