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



What you are seeing is expected behavior. CRTDUPOBJ does not use the library list for LF's (ever). MYFILEL1 will always end up based on the PRODUCTION version of the file because it is not in the same library as the PF is it based on. You'll have to recreate MYFILEL1...

Crispin.

-----Original Message----- From: Smith, Mike
Sent: Friday, September 28, 2012 3:02 PM
To: Midrange Systems Technical Discussion (midrange-l@xxxxxxxxxxxx)
Subject: confusion with logical files and crtdupobj

Library(PRODUCTION) FILE(MYFILE) Physical File
Library(PRODUCTION) FILE(MYFILELF) Logical File
Library(PRODCUST) FILE(MYFILEL1) Logical File


Now I create a new library QATEST

CRTDUPOBJ OBJ(MYFILE) FROMLIB(PRODUCTION) OBJTYPE(*FILE) TOLIB(QATEST) DATA(*YES)
CRTDUPOBJ OBJ(MYFILELF) FROMLIB(PRODUCTION) OBJTYPE(*FILE) TOLIB(QATEST)
CRTDUPOBJ OBJ(MYFILEL1) FROMLIB(PRODCUST) OBJTYPE(*FILE) TOLIB(QATEST)


When I look at the logicals that are now in QATEST.
MYFILELF is attached to MYFILE in QATEST,
MYFILEL1 in QATEST is attached to MYFILE in PRODUCTION. ----- I need this to be attached to the physical in QATEST

The source isn't qualified. QATEST is at the top of my library list.

I feel like I'm missing something that's staring my right in the face.

What am I missing?

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.