I have never found, but never asked. So maybe someone knows
something exists... Is there any /substitution variable/ available that
enables an option defined like CC="ChgCurLib &±" to set the current
library to the name of the library in which the object resides [for OBJ
& MBR lists] *or* to the name of the library in the list [for a LIB list]?
The "CHGCURLIB &L" will set my *CURLIB to QSYS when using WRKLIBPDM.
That outcome is not very helpful; in fact, very dangerous for me.
Seems daft to create two CHGCURLIB options to remember both what they
are and when\where to use them, or to have to write an alternate command
or program to accept both &L, &O [and &T or maybe &B] to figure out what
This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact