-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
__listds() does not return the catalog name that resolved a dataset entry. The z/OSMF dataset list API requires a catnm field (e.g. "CATPAK.MASTER.CATALOG").
Current state
__listc() uses IDCAMS LISTCAT internally, which does show the catalog name in its output, but this is not parsed or returned to the caller. The DSLIST structure has no catnm field.
Proposed changes
- Add
char catnm[45]field tostruct dslistincliblist.h - Parse the catalog name from the LISTCAT output in
__listc()callback and pass it through to__listds()
Alternative approaches
- Use the CVTCATP chain to determine the responsible catalog for a dataset
- Use the LOCATE macro return area which may contain catalog info
Motivation
mvsMF needs to return catnm in the z/OSMF-compatible dataset list API for Zowe Explorer compatibility.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels