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



David,

IIRC, Column headings default to column name AND when you do a SELECT it
only shows column headings so, as I see it, you would need to change your
headings (LABEL ON) for that.

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Tue, Dec 28, 2010 at 9:18 AM, David FOXWELL <David.FOXWELL@xxxxxxxxx>wrote:


Sorry, I think I should have said TEXT instead of Column headings. The
display you get when you use STRSQL. Our tables still have 6 letter field
names so the output in iNav isn't really human readable.
Thanks for the SQL Assist tip that I did not know existed.






-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Paul Tuohy
Envoyé : mardi 28 décembre 2010 14:28
À : Midrange Systems Technical Discussion
Objet : Re: iNav Sql scripts

You can use SQL Assist (Edit->SQL Assist or press F4 on a blank line).

Or just do a select * from table and have a look at the
headings in the result set.

Or, if you are using a schema, run a SELECT on the SYSCOLUMNS
view in the schema with a where clause on TABLE_NAME.

Or, if you are not using a schema, run a SELECT on
QSYS/QADBIFLD with a where clause selection on DBILIB and DBIFIL

Regards

Paul Tuohy
ComCon
www.comconadvisor.com
www.systemideveloper.com

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