Actually, if you create a UDF for QCMDEXC it gets quite easy.
Then it's a simple matter of (somethine like)
Select object, library, userprofile, QCMDEXC('CHGOBJOWN OBJ(' +
trim(library) + '/' + trim(object) + ') OBJTYPE(' + objtype + ')
Where library='MYLIB' and userprofile='FIREDDUDE'

The order by helps to ensure that it executes all the way through the

As you can see, we use this QCMDEXC UDF quite often.

An alternative might be studying qsHell to see if there's some strange
command that has to offer.

Rob Berendt

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact