|
If you're going to write a script I would recommend looking at
OBJECT_STATISTICS and SYSPARTITIONSTAT. Remember, in database parlance a
member is a partition.
But something about the OP's request is waking a brain cell somewhere.
Like it sounds familiar but I'm not seeing anything. Something like the
CRTDUPOBJ has this parameter:
Duplicate data . . . . . . . . . DATA *NO, *YES
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Patrik Schindler
Sent: Tuesday, December 17, 2019 5:01 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Save library and restore "shell" of that library's objects
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.
Hello Steve,
Am 17.12.2019 um 21:46 schrieb Steve McKay <samckay1@xxxxxxxxx>:
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.?
About files: It's possible to do a savlib and exclude all members. If it
does what you want, dunno. About the rest: Not possible, AFAIK.
Did you think about automating this task by, say, a REXX script or the
like which checks if an object exists? If not, create. If yes, skip and
continue. So you'd have one definition of data and can run it everywhere.
If you want to have these recreated on test, do another REXX script which
deletes everything you want to be recreated.
:wq! PoC
PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc
--
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,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
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
--
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,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
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.
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.