I thought of that (which is not available on releases prior to V5R4) and the
CRTDUPOBJ option that Larry mentioned, but it sounds like the OP has data on
media or in a Save file. I don't see anything on the RSTLIB or RSTOBJ
commands that would allow this. Not even a "filter" option such as on the
CPYF command.

Of course, the OP could RSTOBJ the file and then CLRPFM, but I'm guessing
that he's thought of that and that the file in question is rather large and
that disk space seems to be at a premium. That's only a guess, of course.

Anyway, if that guess is accurate, I can only add that I've been there. I
had the luxury, if you will, of having a window during which I could remove
files or libraries to make room for such a restore, do what I wanted, and
then restore the deleted files or libraries (I did mention that I saved them
before removing them, didn't I?).

Jerry C. Adams
IBM i Programmer/Analyst
Work is the curse of the drinking classes. - Rev. William Spooner
--
A&K Wholesale
Murfreesboro, TN
615-867-5070


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Therrien
Sent: Friday, April 20, 2012 8:41 AM
To: Midrange Systems Technical Discussion
Subject: RE: Restoring data file structures

This may not help your particular situation, but doing a CPYLIB DATA(*NO)
will create all of you data files without data.


Paul Therrien
Ext: 551

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Duncan
Sent: Friday, April 20, 2012 8:36 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Restoring data file structures

Is there any way to restore just the file structures of files in a library
without restoring the data too ? The only way that I know to do that is to
restore the files with the data then save them with the
STG(*FREE) option. That could require a lot more disk space than is
available. Surely there is a less painful way to do this.

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

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


This thread ...

Replies:

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

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