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



Hi Rob,

IIRC, ALIAS allows a 30-character name for use with COBOL programs, and must follow COBOL naming rules (all-caps being the annoying one). Which is probably why RPG ignores it. However, SQL will use either one, and iSQL shows the ALIAS field name in preference to the 10-character field name when prompting.

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /


rob@xxxxxxxxx wrote:
What? You'd ask your clients? Do they actually put a preference in their project specifications or do they say "Get me this pretty screen on time and on budget"?

But you're right, you can also declare the long field names in DDS if you have to, using the ALIAS keyword. Had a former coworker call me years ago. Had a client (he normally did PC development) in which he had to interface with their software. The PC software was all written using long field names. DBA on the as/400 set them up with short field names and he wanted to know how to meet in the middle and I suggested ALIAS. Got a big thank you but I don't know if he ever convinced them to CHGPF to use ALIAS.



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.