× 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 should slap myself for not looking in the JDBC settings of the connection menu instead of the options menu :-)











Works for me on 6.1, thanks, great!




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

Paul,

I don't have that option in iSeries Nav V5R4, unfortunately.

Regards,

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



On Tue, Dec 28, 2010 at 3:15 PM, Paul Tuohy
<tuohyp@xxxxxxxxxxxxxxxxx>wrote:

Not sure which version of Scripts this was introduced on
but it is
available in 7.1...

Connection->JDBC Settings->Other tab->Header for result columns.

I must have misinterpreted David's original post - I
thought he wanted
to determine a columns text description as opposed to
having the label
heading.

Regards

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





Luis Rodriguez wrote:
Paul,

Yes but, How do you do a simple Select of a table with
iNav that
returns
the
column heading?

As I wrote David, when I use iNav I tend to think in
terms of the
column name, so this is not a problem for me but, what if
I want to
show the headings? I suppose I could write a program
that creates
views with the
info
found in QADBIFLD for the column heading (SELECT
ColumnName AS a
DataFromDBIHDG ) but, IMHO, it would be better if I could
set that
as an option within iNav.

I know that Barbara Morris from IBM monitors this list
from time to time.
Now we need that her equivalent in the corresponding DB2
department
joins
us
as well :-)


Regards,

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



On Tue, Dec 28, 2010 at 12:58 PM, Paul Tuohy
<tuohyp@xxxxxxxxxxxxxxxxx
wrote:


Both SYSCOLUMNS and QSYS/QADBIFLD also have the text for
the columns.

Regards

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





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



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


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


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

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.