Skip to content
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

member from a jcl dataset not opening with a .jcl extension #3300

Open
Madhubalan-p opened this issue Nov 7, 2024 · 3 comments
Open

member from a jcl dataset not opening with a .jcl extension #3300

Madhubalan-p opened this issue Nov 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Madhubalan-p
Copy link

Describe the bug

member from a dataset with a file name for ex. hlq.jcls is not opened with file extension .jcl even though files.associations is defined. feels like zowe explorer has its own preset of file associations defined somewhere.
To Reproduce

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise for Virtual Desktops
  • Zowe Explorer Version: v3.0.2
  • (Optional) Zowe CLI Version: 8.3.0
  • RSE API Plugin version: 5.0.0
  • IBM Z Open Editor version: v5.0.0
  • (Optional) Are you using Secure Credential Store? yes

Additional context

Copy link

github-actions bot commented Nov 7, 2024

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.

@Madhubalan-p
Copy link
Author

To Reproduce:

  1. fetch a dataset named like hlq.jcls
  2. open a member from that dataset
  3. see that zowe explorer is not assigning any extension name to it.
    image

@traeok
Copy link
Member

traeok commented Nov 7, 2024

To Reproduce:

  1. fetch a dataset named like hlq.jcls
  2. open a member from that dataset
  3. see that zowe explorer is not assigning any extension name to it.

Hi @Madhubalan-p,

Since the file system structure has changed with Zowe Explorer v3 for PDS members, you'll need to update your file associations to handle the new format. See this article from Zowe Docs for more info: https://docs.zowe.org/stable/user-guide/ze-usage-tips/#configure-the-detected-language-of-a-file-or-data-set

Here's a RegEx expression that you can use to quickly find/replace those associations with the new format:

Find: \*\.(.+?)\*
Replace: **/*$1*{,/*}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New Issues
Development

No branches or pull requests

2 participants