×
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.
Correct. Another QM query then? It could be generic and take 2 parms, i.e.:
LABEL ON COLUMN &FIELD IS &COLHEADING
Then you'd have to run it for each column... ugly, but doable.
BTW, you can put the label on multiple columns in one swoop:
LABEL ON COLUMN XCADVICE
(
SCHOOL IS 'Elementary School',
GRADE IS 'Student Grade',
HOMEROOM IS 'Student Classroom',
TEACHER_ID IS 'Teacher Identification'
)
But making a QM query for multicolumn LABEL command would be cumbersome.
I'm planning to publish a command that lets user run SQL from CL, if you're
interested (might make things a bit easier).
Good luck.
Elvis
2007 System i Fall Technical Conference | Orlando | November 4-7
Celebrating 10-Years of SQL Performance Excellence on IBM i5/OS and OS/400
-----Original Message-----
Subject: RE: Using SELECT AS to Create Column Heading
Elvis, Thanks for the tip, but I need to pass variables and I don't think I
can do that with RUNSQLSTM? Bob
As an Amazon Associate we earn from qualifying purchases.
This thread ...
RE: Using SELECT AS to Create Column Heading, (continued)
This mailing list archive is Copyright 1997-2025 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.