|
On Thu, 2004-07-15 at 17:00, midrange-l-request@xxxxxxxxxxxx wrote: > date: Thu, 15 Jul 2004 11:32:12 -0500 > from: <Rick.Chevalier@xxxxxxxxxxxxxxx> > subject: Adding text to SQL index > > I am trying to find a way to add text to SQL indexes. > > Looking through the archives I found this line of code submitted in Oct. 2003 > by Vern. > CALL QCMDEXC ('CHGLF FILE(vern/myidx) text(''This is an index'')', > x'000000004700000F') > > I can't get it to fit on a single line so my statement looks like this: > CALL QCMDEXC ('CHGLF FILE(SUDOC/SUDETLS00) text(''SU detail exceptions by > User, > Date, Time'')', x'000000009600000F'); > > > When I issue the RUNSQLSTM command it fails on the call. I have tried > several variations to try and correct the error but without success. I only > succeeded in getting different errors. The statement above generates the > error 'String ') O ' contains a character that is not valid.' > > Can someone show me what I'm missing? > > Rick Chevalier > <<ole0.bmp>> > Enterprise Solutions > Ext. 57178 You can add labels to Tables, Views, and Indexes in SQL. I think the commands are "Label On Table Is 'xxx...'" Up to something like 50 characters. You can add extended comments similarly by doing "Comment On Index Is 'xxx...'" up to 2000 characters. Joel http://www.rpgnext.com
As an Amazon Associate we earn from qualifying purchases.
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.