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



Jerry Adams wrote on 02/27/2008 09:23:02 AM:

I create any new tables in our applications by using SQL's DDL.
Actually I do it through iNav's Database...Schema tree for what it's
worth.

Usually these tables come out with *Public = *All. Occasionally, they
arrive with *Public = Exclude. Why?

Potentially more info: I use iNav's "Generate SQL" function to save the
DDL to a source physical file. Sometimes I will use the RUNSQLSTM
command against said source member to create a table. Don't know if
that makes a difference. However, I just did that for a table in one of
my project libraries that had *Public = Exclude, and the table, after
"re-compiling," had *Public = All. I tried various options on the
RUNSQLSTM but it still came out as *Public = All. How it got to *Public
= Exclude is a mystery - to me, anyway.

My guess is that you are using system naming in one case and SQL naming
in the other. I have an old DB2 SQL reference manual and it says this:

Authority granted to *PUBLIC on SQL objects depends on the naming
convention that is used at the time of object creation. If *SYS naming
convention is used, *PUBLIC acquires the authority of the library into
which the object was created. If *SQL naming convention is used,
*PUBLIC acquires *EXCLUDE authority.

Ed Fishel,
edfishel@xxxxxxxxxx


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.