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

Implement the "like" data set capability available from zOSMF API #904

Closed
zdmullen opened this issue Jun 25, 2020 · 4 comments · Fixed by #959
Closed

Implement the "like" data set capability available from zOSMF API #904

zdmullen opened this issue Jun 25, 2020 · 4 comments · Fixed by #959
Labels
enhancement New feature or request
Milestone

Comments

@zdmullen
Copy link
Contributor

zdmullen commented Jun 25, 2020

Is your feature request related to a problem? Please describe.

I would like to be able to do "allocate like" inside of Zowe Explorer. This should be available now that zOSMF has a REST parameter for allocate like.

This should be implemented in Zowe CLI so that Zowe Explorer can implement it.
Please refer to zowe/zowe-cli#754 for SDK implementation details.

Describe the solution you'd like

Create a new data set and in the drop down of choices, be able to select "allocate like" at the bottom of the list.

Or

Right + click on a particular data set and select "Allocate like".

Further refinement with regard to the UX will be needed, of course.

Additional context

IBM documentation about the new REST parameter:

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.izua700/IZUHPINFO_API_CreateDataSet.htm

@jelaplan
Copy link

jelaplan commented Jul 6, 2020

An idea here is to implement copying of data sets. And then have two paste options. One to paste the a copy of the dataset and one to allocate like.

I'm wondering how fixed we are on the term allocate like. I guess that is a mainstay of ISPF MF users but it is not self-revealing meaning wise. Pasting the file properties might be closer.

@katelynienaber
Copy link
Contributor

Working on getting this implemented in CLI here.

@katelynienaber katelynienaber linked a pull request Jul 28, 2020 that will close this issue
15 tasks
@katelynienaber katelynienaber added this to the 1.9 Release milestone Jul 28, 2020
@jelaplan
Copy link

jelaplan commented Aug 5, 2020

I have some concerns with the menu label Allocate Like. It is likely familiar to experienced mainframers. But for the modern developer experience, that name is obscure and hard to interpret.

I looked at some IBM doc around Eclipse and Z Open Development and read the following snippet "click Copy characteristics from an existing data set." That phrase is more descriptive of the feature. I wonder if we might append the menu label. Some ideas:

  • Allocate Like (Copy File Type)
  • Allocate Like (Copy File Format)
  • Allocate Like (New File with Same File Format)
  • Allocate Like (Copy DS Characteristics)
  • Allocate Like (Copy File Details)
  • Allocate Like (Copy File Attributes)
  • Allocate Like (New File with Same Attributes)
  • Allocate Like (New Dataset)
  • Create New Dataset Modelled on This
  • New Dataset with the Same Format
  • Create New Dataset Like This One

@katelynienaber
Copy link
Contributor

katelynienaber commented Aug 6, 2020

@jelaplan I changed the name of Allocate Like in the PR to Allocate Like (Copy File Attributes), as I think it reflects what the function is doing most accurately.

zFernand0 added a commit that referenced this issue Sep 9, 2020
Issue #904: Implement Allocate Like in Explorer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants