MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » March 2014

Re: QDFTOWN changing objects to a new owner



fixed

On 26-Mar-2014 09:46 -0700, Monnier, Gary wrote:
Write a CL(s) to

DSPOBJD your user profiles to a table.
Read the table.
For each entry
DSPUSRPRF for object owner to a table.
Read the table.
For each entry that is owned by QDFTOWN run CHGOBJOWN.


The DSPOBJD is a /red herring/.

The DSPUSRPRF request noted in the above logic would only have any entries for QDFTOWN when the Display User Profile request was against the user profile object named QDFTOWN. Thus the code is simply the latter three steps; i.e. starting with DSPUSRPRF QDFTOWN *OBJOWN OUTPUT(*OUTFILE) followed by a loop "For each entry that is owned by QDFTOWN, run CHGOBJOWN."






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

This mailing list archive is Copyright 1997-2014 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