× 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 wasn't able to see the short table name, but even I can,what I need is 
something (api) I can use within a CL or RPG.
Thanks anyway.

-----Original Message-----
From: Haas, Matt [mailto:Matt.Haas@xxxxxxxxxxx]
Sent: Friday, January 21, 2005 5:12 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: How to copy files with CPYF for SQL created long named
files


If you do a STRSQL and do a SELECT * FROM long_table_name and hit F4, prompting 
for the field names will show the short table name.

Matt

-----Original Message-----
From: Ali Ekinci [mailto:Ali.Ekinci@xxxxxxxxxx]
Sent: Friday, January 21, 2005 5:02 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: How to copy files with CPYF for SQL created long named
files


SQL allows creating tables with names up to 128 long.
Anybody knows way to copy a long named file (longer than 10) with CPYF command?
I understand ISeries comes up with a 10 digit name (First five characters + 
00001), but I wasn't able to figure out, how to reference that name to the 
actual long SQL table name.
thanks in advance for any help.

Ali




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.