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



Basically, I want to retrieve the column attribute information about a
specific column in a table and create a duplicate of that column with a
new name and then drop the old column name. I can handle the column
drop and copy of the data but the creation of an exact duplicate of the
column is the difficult part. The suggestion from Midrange-L was to
use
an SQL DESCRIBE TABLE function and retrieve the info into an SQLDA.
Having never done that, I need an example to help me along.

If you're in RPG already, you may prefer to go after the QUSLFLD API instead
since that is (in my way of thinking) easier to digest than the DESCRIBE
TABLE complexities. Just a thought.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"If you look like your passport photo, you're too ill to travel."
-- Will Kommen


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.