Thanks, Mark. That is the syntax I was looking for.

However, in the process of experimenting, I discovered some really odd
behavior. When the member name is 9 or 10 characters, whether it has a
dot in the name or not, if I *lowercase* the name (which, yes, I know,
will never work), a very unexpected (to me) error comes up: SQL0107,
name too long, max 10 characters.

If the name is 8 characters or less, then using lowercase and quotes
fails in the expected way, which is that the SQL is considered valid,
but the member is simply not found (SQL0204).

John Y.


On Thu, Nov 10, 2022 at 2:43 PM Mark Waterbury
<mark.s.waterbury@xxxxxxxxxxxxx> wrote:

John,

Try enclosing MY.MBR in double-quotes like this:

CREATE ALIAS MYALIAS FOR MYLIB.MYFILE("MY.MBR")

Mark

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