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



ok...it's partly my fault on that. the "Library" field on the control
file maintenance is not really the name of a library. if you leave the
keyword as "RPGLE" record type "KEYWORD" it should work. the library
field in this case is really a source type not a library name. the
control file maintenance program was written as a separate project. i
just used it in ILEDOCS to simplify things (and reduce coding time!! ). if
you can send me the source code (or just the comments from the source code
i'll take a look and see what it issue is and how to deal with it.

Thanks,
Tommy Holden



"Tyler, Matt" <mattt@xxxxxxxxxxxxxx>
Sent by: iledocs-bounces@xxxxxxxxxxxx
06/27/2007 05:38 PM
Please respond to
ILEDocs <iledocs@xxxxxxxxxxxx>


To
<iledocs@xxxxxxxxxxxx>
cc

Subject
[IleDocs] Keyword starting positions






I copied the RPGLE-TEXT tag to TXT-TEXT and ran the ILEPARSE over the
README member. The programming crashes at source line 541 of procedure
KEYWORDCHECK().

I had added a new library (?) called TXT. I copied it from RPGLE-TEXT
keyword. I left everything alone on the new TXT-TEXT entry and
proceeded to run ILEPARSE over QTXTSRC-README.

I was just playing around but I felt like the tool should have worked
any way.

Here is the code it should have worked on but did not:

// If Position Is Greater Than Zero A Keyword Was Found
Position = %Scan(%Trim(CtlData.Prefix+CtlData.KeyWord):ScanData);
If Position > 0;


SCANDATA = '@TEXT: ...'
Where ... is a continuation until actual end of data in scandata.

CTLDATA.PREFIX = '@'
CTLDATA.KEYWORD = 'TEXT '


Thanks, Matt
--


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