|
Vern,
On LPAR01...
o Run WRKOBJPDM over the original library
o If you don't have a command created Press F16 and create one for DSPOBJAUT.
You will want to direct the output to a table.
DSPOBJAUT OBJ(&L/&N) OBJTYPE(&T) OUTPUT(*OUTFILE) OUTFILE(yourlib/yourfile) OUTMBR(*FIRST *ADD)
o Type your command initials into the option column and press F13 to repeat to end of list.
o Press Enter.
o When completed, transfer your file to LPAR02.
On LPAR02...
o Write a program to read the file containing object authorities from LPAR01 and apply them to the same object in the new library.
HTH,
Gary Monnier
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, September 15, 2015 12:12 PM
To: Midrange Systems Technical Discussion
Subject: Applying authorities after restore
We've a situation here - looking for ideas.
New LPAR that is to have the same objects but in different library.
Files in library LIB01 on LPAR01 saved and then restored to LIB02 on
LPAR02 with PVTAUT(*NO).
There were private authorities on all these files on LPAR01. There are NO private authorities on these files on LPAR02 - makes sense, I know.
We need the private authorities to be the same as they were on LPAR01 - all users ARE present on both partitions.
So question I was asked, is there a way to apply the private authorities after the restore, where there is now only the owner's and a *PUBLIC on the objects?
There have been changes to the data already since the restore - that just complicates things, I'd say.
TIA
Vern
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.