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



Better yet, just create your table in DDL in Ops Nav giving both short and
long names for fields and tables names. Why create tables in DDS?

Even if I am creating a table for DDS I do it that way and just get the DDS
from the table object. Beats typing all that stuff my hand.

And yes, ALIAS is the long name if you have to create it in DDS.

On Tue, Oct 21, 2014 at 3:57 PM, Darryl Freinkel <dhfreinkel@xxxxxxxxx>
wrote:

Try using the ALIAS keyword in DDS. I have not used it, but I believe its
for that purpose.

On Tue, Oct 21, 2014 at 5:16 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

John

I tried something kind of crazy - I had a PF created using DDS, then I
used the RENAME TABLE SQL statement, and I was able to put the long name
on
it - very cool!

So your colleague could use DDS to create the file, and you could have a
command that uses RUNSQL to do the RENAME.

Here is an example -

RENAME TABLE DP2TEST/ACEAPP TO LONGVERSIONACEAPP FOR SYSTEM NAME ACEAPP

Be careful to specify the system name - otherwise it'll be changed to
something like LONG000001 in this case.

HTH
Vern


On 10/21/2014 3:59 PM, John R. Smith, Jr. wrote:

I looked for an SQL group to post this to but did not see one so I'm
going
to post it here.

I need to create a file on the iSeries using DDS that has both a
physical
file name and an alias name (not sure that is the right term).
Basically I
need to reference it as "INVNBR" in RPGLE FSpecs and
"INVOICE_NUMBER_TABLE"
when using SQL.

Is there any way to do that with DDS?

By the way, creating the file via DDS was a mandate from a dinosaur that
refuses to learn SQL.


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




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

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.