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



David Wright wrote:

> What is the best way to copy logical files from one library to another, and
> forcing them to be based on a different physical file?
>
> I want to clone our live environment, but the logicals keep pointing back to
> the live pf...
>
> I know I have done this before, but I cannot remember how :(

First do a CRTDUPOBJ of the based-on physical file to the new library,
then do a CRTDUPOBJ of the logical to the _same_ new library.  The new
logical will automagically point to the new physical.

--
-Jeff

The opinions expressed are my own and not necessarily
the opinion of my company.  Unless I say so.



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.