- 
                Notifications
    You must be signed in to change notification settings 
- Fork 92
Description
Describe the bug
Zowe Explorer allocates either too much space or fails silently when attempting to copy a data set between LPARs if that data set was not allocated in tracks.
I moved this to the CLI repo since I'm seeing the issue of data sets allocated in cylinders being copied to 225-track data sets on the target system on both Zowe CLI and Zowe Explorer.
There seem to be other issues with non-track/cylinder allocation units for copying PDSs with Zowe Explorer, so there may need to be an additional fix for Zowe Explorer.
To Reproduce
Copying a data set allocated in cylinders:
- Allocate a 1 cylinder data set (which amounts to 15 tracks).
- Attempt to copy that data set from one LPAR to another.
- Check the allocation information for the new copy of the data set.
- Note that size is now 225 tracks (15^2).
Copying a PDS allocated in MB (attempting to copy a data set allocated in blocks fails similarly):
- Allocate a 1 MB data set (which seemed to amount to ~23 tracks).
- Attempt to copy that data set from one LPAR to another.
- Note that nothing seems to happen with Zowe Explorer.
 a. Both Zowe CLI and Zowe Explorer handle this allocation correctly when given a sequential data set.
Expected behavior
I would expect the new data set to have the same number of allocated tracks as the original data set (assuming we cannot get more granular allocation information than track count - which is provided to us by z/OSMF).
Presumably, it would be safe to always allocate the copy in tracks since that is the allocation unit described by the Size field in the 'show attributes' view. Is there any harm in ignoring the Space Unit field?
Screenshots
Desktop (please complete the following information):
- OS:
- Zowe Explorer Version: 3.3.0
- (Optional) Zowe CLI Version:
- (Optional) Do you have secure credentials enabled?
- (Optional) Are you using a custom credential manager?
Additional context
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status