If you're looking at a list of objects or members in PDM with WROOBJPDM/WRKMBRPDM, you can create an option that will do "CHGCURLIB &O". This will change your current library to the library the object/member is in.



CRPence <crp@xxxxxxxxxxxxxxxxxxxx> 2008-03-12 00:28 >>>
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
I meant.

Regards, Chuck

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 [javascript protected email address].