That's the conclusion I was beginning to come to.

Thanks.
Mike

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of hack400@xxxxxxxxxxxx
Sent: Friday, September 28, 2012 3:13 PM
To: Midrange Systems Technical Discussion
Subject: Re: confusion with logical files and crtdupobj

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

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

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.