× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 8/6/2024 11:24 AM, Gerald Magnuson wrote:
I restored a file from backup, did my usual DBU <Rst.Library>/<File
Name>, and a different member popped up, the member default on DBU is
*FIRST,

is there a method to change *first member?

ish?

*FIRST means exactly that: the very first member added to a file.

I'd be shocked to discover that the original file had a different *FIRST from the one on the backup tape, but after enough time, one gets sadly comfortable with being shocked.

Jim's advice is important: if all of your programs OVRDBF to the proper member, then *FIRST doesn't matter.

With all of that out of the way, I'd
1) RNMOBJ X X.sav
2) CRTPF X MBR(the_one_you_need) MAXMBRS(nnn)
3) CPYF that membetr from X.sav to X *REPLACE
4) Use a PDM user command to copy the other members from X.sav to X *ADD
5) Restore/rebuild the logical files over X


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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