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



I'm not sure if there is a solution within SQL, but you could create a
CL program to spin through the files and rename the members.
There's a CL command RNMM that will do this. Or you could write the
program in another language and use QCMDEXC to execute the RNMM command.

Karl Abbott

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Charles Wilt
Sent: Monday, March 30, 2015 6:29 PM
To: Midrange Systems Technical Discussion
Subject: Re: ? about SQL Long table names and funky member names

Vicki,

It only matters to us humans. And even then, assuming you only have one
member in the table; you might not ever notice.

I think the only way to get the member name to be what you want is to
- Create the file with the system name first, then rename it to the long
name.
or
- Remove the automatically generated member and add your own before you
start loading data.

Charles

On Mon, Mar 30, 2015 at 6:02 PM, Vicki Wilson <VWilson@xxxxxxxxxxxxx>
wrote:

Hi all,

I'm migrating some SQL Server tables to DB2. I'd like to keep the
long table name so I'm using RENAME to get a palatable system name
rather than the funky generated name.

I noticed that I still get a funky member name xxxxx00001. How do I
rename this? Can I do it in the same script I use to generate the
table?
Does it matter???

Vicki


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



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.