Skip to content

fix(ds): Provide member name when uploading to PDS in VSCE#783

Open
traeok wants to merge 11 commits intomainfrom
fix/upload-member
Open

fix(ds): Provide member name when uploading to PDS in VSCE#783
traeok wants to merge 11 commits intomainfrom
fix/upload-member

Conversation

@traeok
Copy link
Member

@traeok traeok commented Feb 10, 2026

What It Does

Fixes an issue with uploading members, found while testing behavior in main branch / 0.2.3 release.
Resolves #785

Problem: When using "Upload Member" in the Zowe Explorer context menu on an SSH profile, the member name is not provided to the SDK. However, since our SDK calls are sending information straight to the middleware, the member contents are sent in the SDK call with just the data set name.
Solution: As a short pass, we're now replicating the z/OS Files SDK behavior of generating a member name when uploading to a PDS. Long term, Zowe Explorer should do this to prevent passing the burden to SDKs.

How to Test

  • Try to upload a member in Zowe Explorer using the VSCE built from this branch, using a local text file.
  • See that the member upload succeeds, and a member name is generated (similar to z/OSMF) for that file.

Review Checklist
I certify that I have:

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Feb 10, 2026
@zowe-robot zowe-robot moved this from New Issues to Review/QA in Zowe CLI Squad Feb 10, 2026
@github-actions
Copy link

github-actions bot commented Feb 10, 2026

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok linked an issue Feb 10, 2026 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Feb 10, 2026

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

Thanks for keeping the checks/validation in resolveDataSetName as minimal as possible.

If I understanding this correctly, we wouldn't need to do this if this wasn't an issue in ZE:

Co-authored-by: anaxceron <ana.ceron@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok requested a review from anaxceron February 18, 2026 15:45
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@sonarqubecloud
Copy link


- Added the functionality for the **Rename Member** option. [#765] (https://github.com/zowe/zowe-native-proto/pull/765).
- Added the `multivolume` (`mvol`) property when displaying data set attributes. [#782](https://github.com/zowe/zowe-native-proto/pull/782)
- Fixed an issue where using the "Upload Member" option with an SSH profile in Zowe Explorer caused an error. Now, the member name is provided to the back end for each member that is uploaded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add a PR or issue link to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Review/QA

Development

Successfully merging this pull request may close these issues.

Upload member fails with VSCE due to missing member name

3 participants

Comments