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



CRTDUPOBJ works as long as the physical file is in the same library as the original logical.
If it is in a different library, the new logical will keep the original based on physical.
 
Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 
IBM  Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM  Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3
  
 






________________________________
From: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, May 21, 2009 2:06:57 PM
Subject: Copying logical files from one library to another

I've seen this done; I've done it myself. But I can never remember how;
neither does the usual RTFM shed a whole lot of light on it:

Given two libraries FOO and BAR, with physical BAZ in both libraries,
and logical QUX on BAZ in FOO, but not in BAR:

I can never remember how to copy a logical (QUX) from one library (FOO)
to another (BAR), so that it picks up the corresponding based-on
physical in the target library (BAR/BAZ) instead of pointing back to the
original one in the source library (FOO/BAZ).

Is it a CPYF or a CRTDUPOBJ?

And what are the required conditions for it to behave as desired?

--
JHHL

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.