vscode-extension-for-zowe
vscode-extension-for-zowe copied to clipboard
Data set members may fail to open in binary mode
Data set members cannot always be opened in binary mode depending on the contents.
The following member can be opened in binary mode (as long as there is no trailing line) because it is exactly 80 bytes long:
Hello World $
Attempting to open the following member in binary mode results in an error:
Hello World $
Here are the attributes of the PDS:
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.
Also running into this issue with allocation settings:
Discussed with @awharn and realized we could probably reuse some of the logic for opening USS nodes, to catch an error when opening a data set and fall back to binary mode: https://github.com/zowe/zowe-explorer-vscode/blob/main/packages/zowe-explorer/src/uss/ZoweUSSNode.ts#L624
Closing with merge of PR linked