We do this on a normal basis.
Our Production environment has 18 libraries, data and programs.
From our nightly save, we restore all 18 libraries from Production LPAR to our R&D LPAR.
Scheduled jobs via AJS.
We use RSTLIBBRM via BRMS.
RSTLIB would also work.
We actually have 7 complete different test environments, for various purposes.
Used for programmer development, training, testing etc.
We keep all the PF as is, don't clear any data.
Works like a charm.
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steve McKay
Sent: Tuesday, December 17, 2019 3:46 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Save library and restore "shell" of that library's objects
On V7R3 - is there a way to SAVLIB/SAVOBJ a library containing files, data queues, data areas, etc. on one machine/partition and RSTLIB/RSTOBJ the library to another machine/partition without restoring the data in the files, data areas, data queues, etc.?
Goal is to save a production library and restore to test system with no data in the objects in the restored libraries so we end up with "shell"
files, data queues, etc.
Seems feasible but I've looked at SAV/RST commands and don't see an obvious way to do this.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.