The same "cross-library" issue that exists for DDS-defined LFs is also true for SQL INDEXes, but not for SQL VIEWs.

This is because a DDS-defined Logical File contains the equivalent of an SQL VIEW and an SQL INDEX, while with SQL they are separate and independent objects (due to IBM Db2 conforming to the ANSI standards for SQL, apparently.)

Hope that helps,

Mark S. Waterbury

On Monday, November 1, 2021, 01:33:53 PM EDT, Dean Eshleman <dean.eshleman@xxxxxxxxxxxx> wrote:


I was wondering if SQL views that join two files across libraries have the same constraints as join logical files when it comes to what library they should be in so that a restore of the view works successfully.  In other words you should place it the library that is restored last alphabetically so that both physicals are there when it is restored.  I know that an SQL view shows up on the system as a logical file object, but I also know they have some differences from logical files.  TIA

Dean Eshleman
Software Development Architect

1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.