zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

Use something better than 'cp' to update open parmlibs #704

Open nosrednayduj opened 2 months ago

nosrednayduj commented 2 months ago

Is your feature or enhancement request related to a problem or limitation? Please describe

zwe component install uses UNIX "cp" to update the parmlib with the new ZWESIP00. If the data set is open, "cp" fails because it (stupidly) requires exclusive access.

Describe your enhancement idea

Long ago there was a CLIST-based mechanism for updating ZIS plug-in libraries. This was abandoned at some point during the 1.x development cycle. It would be great if this was brought back and used for all copies to data sets.

Provide any additional context

PR in which script that calls this was deleted: https://github.com/zowe/zowe-install-packaging/pull/965/commits/248f35af850ffef63620abe2f7717769282cd49a

Full file as before deleted: https://github.com/zowe/zowe-install-packaging/blob/709cb254b38b17a94cc64fac4bb97cb44958312b/scripts/configure/zowe-copy-proc.sh

JoeNemo commented 2 months ago

Although the TSO method will work, there could be other OMVS ways of doing this. Or programmable ways, which will definitely work but require more research and test.