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.
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.


-----Original Message-----
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.


Steve McKay
(205) 585-8424
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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.