We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
If zOSMF ds operation encounters a z/OS dataset that is cataloged but doesn't exist on disk, it returns the following:
{"dsname":"IBMUSER.SYSPLEX.JCL","catnm":"CATALOG.Z24B.MASTER","dev":"3390","migr":"NO","mvol":"N","vol":"WORK01"}
... which the Zowe data-sets API maps to:
{"name":"IBMUSER.SYSPLEX.JCL","deviceType":"3390","migrated":false,"catalogName":"CATALOG.Z24B.MASTER"}
User code must check to see if the volumeSerial attribute is missing in order to detect this condition.
The API should explicitly indicate that the dataset is cataloged but does not exist on the specified disk.
Describe the solution you'd like
I suggest adding an attribute mapping of "datasetExists" (True/False) and include this in the API result.
The text was updated successfully, but these errors were encountered:
Addendum: This is the TSO output from zOSMF when a list of datasets includes one that doesn't exist on disk:
[09:18:59.747426] ServletDispatcher[I]: Received request: GET /ds?dslevel=ibmuser [09:18:59.760612] ServletDispatcher[I]: z/OSMF transaction: tx000000000001735D [09:18:59.761557] ServletDispatcher[I]: Invoking Servlet: SELECT PGM(IZUGLSDS) PARM(-LI,t -q 327744 -r 0x204f4028 ) [09:19:00.494136] ListDatasetsServlet[W]: DSINFO ERROR, dsname = IBMUSER.SYSPLEX.JCL information not found [09:19:00.861413] ServletDispatcher[I]: Servlet IZUGLSDS completed, RC=0
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
If zOSMF ds operation encounters a z/OS dataset that is cataloged but doesn't exist on disk, it returns the following:
... which the Zowe data-sets API maps to:
User code must check to see if the volumeSerial attribute is missing in order to detect this condition.
The API should explicitly indicate that the dataset is cataloged but does not exist on the specified disk.
Describe the solution you'd like
I suggest adding an attribute mapping of "datasetExists" (True/False) and include this in the API result.
The text was updated successfully, but these errors were encountered: