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



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.



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.