|
Try this Russ. Change the <library> and <newowner>.
0012.00 PGM
0019.00 DCLF QADSPOBJ
0119.00 DSPOBJD OBJ(<library>/*ALL) OBJTYPE(*ALL) +
0120.00 OUTPUT(*OUTFILE) OUTFILE(QTEMP/QADSPOBJ)
0121.00 OVRDBF FILE(QADSPOBJ) TOFILE(QTEMP/QADSPOBJ)
0122.00 @READ: RCVF
0123.00 MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(@ENDREAD))
0124.00 CHGOBJOWN OBJ(<library>/&ODOBNM) OBJTYPE(&ODOBTP) +
0125.00 NEWOWN(<newowner>)
0126.00 GOTO @READ
0127.00 @ENDREAD:
0156.00 ENDPGM
Good Luck!
Bob Luebbe
CONNECTIONS 2000
-----Original Message-----
From: Russ Solomon <rsolomon@oriental.com>
To: "MIDRANGE@SMTP {MIDRANGE-L@midrange.com}" <MIDRANGE-L@midrange.com>
Date: Thursday, August 06, 1998 10:01 AM
Subject: changing onwership
>
>good morning all.
>
>i have what i hope is a quick question. we have several libs with a few
>thousand objects that we need to change ownership of. the problem is that
>we do not have time to do each by hand. can the chgobjown be used in a cl
>to make these changes to the ownerships? is it quick and dirty, or is
>there an even better way to do it?
>
>thanks everyone.
>have a good day.
>
>russ solomon
>it systems engineer
>oriental trading company
>
>black holes are where God divided by zero
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator:
david@midrange.com
>+---
>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.