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.
o Write a program to read the file containing object authorities from LPAR01 and apply them to the same object in the new library.
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.
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l