These abends indicate a PDS needs to be compressed. Could zowe notify the user (I'm using the VSCode plugin Zowe Explorer 1.3.0) at the least, or at best attempt to compress the dataset?
This sounds like a good place where we can output a warning, or maybe request a better error from the IBM z/OS MF REST APIs?
My only concern with attempting to compress the PDS ourselves is the following statement:
You must not compress the data sets that contain DFSMSdss or IEBCOPY executable code.
See more information in the IBM Documentation
I'm not sure about all the implications of PDS Compression, however it seems that loss of data is a possibility. So, before enhancing the Zowe Explorer or the Zowe CLI to accomplish this, we may want to provide a mechanism to backup the volume in case of failure while compressing.
I'm not sure about all the implications of PDS Compression, however it seems that loss of data is a possibility. So, before enhancing the Zowe Explorer or the Zowe CLI to accomplish this, we may want to provide a mechanism to backup the volume in case of failure while compressing.
I think the best that we can do here is a warning message.
Issuing a warning message sounds great. For my workflow, at least knowing what happened will allow me to go off and (try to) compress as usual.