Closed zFernand0 closed 1 month ago
Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further.
I feel like Aliases used to work, but have recently stopped. I occasionally create datasets with a prefix to allow sharing, but then create an Alias to follow more regular (userid based conventios) e.g. HLQ.PUBLIC.EXEC is aliased as HLQ.USERID.EXEC. But when I try to open HLQ.USERID.EXEC it fails thinking it's binary! It should lookup the alias and proceed to open the related (root) dataset.
Hey @PowderPop, Read and write operations on aliases should still work from the CLI. The only thing that the CLI does not properly handle (unless users do this with their own JCL) is to create and delete aliases. For more details on what's supported from the CLI and Zowe Explorer perspective, see the comment below:
Is your feature or enhancement request related to a problem or limitation? Please describe
Today, the SDKs and the CLI have a hard time fully supporting alias datasets. This is partially due to a z/OSMF limitation on how aliases are handled over the
/zosfiles
REST APIs. See how the CLI and SDKs handle most CRUD operations: (see details in https://github.com/zowe/vscode-extension-for-zowe/issues/2699#issuecomment-1942784425)Describe your enhancement idea
Since alias data sets have a volume of
*ALIAS
, we can attempt to handle creation and deletion a bit differently. Consider the following commands:zowe files create [alias-data-set | alias] <aliasDS> <targetDS>
zowe files create alias USERID.PUBLIC.CNTL.ALIAS USERID.PUBLIC.CNTL
zowe files delete alias <aliasDS>
alias-data-set | alias
to thezowe files delete zfs
command,Describe alternatives you've considered
Recommend people to submit their own IDCAMS to create aliases, and use the
zowe files del zfs
to delete themProvide any additional context
Please see the contents of the comment below for more details: