MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Re: confusion with logical files and crtdupobj



fixed

Did you verify if PRODCUST is your current library or maybe PRODCUST is in
your system library list?

dsplibl should show you if it's there (edtlibl will only show your user
library list)





On Fri, Sep 28, 2012 at 3:02 PM, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx>wrote:

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.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact