Hi Frank,

It's under preferences, Remote Systems -> IBM i -> Program Verifiers -> ILE RPG -> Defines; you'll find a section called Include Directory. Add them using the New... button.

If you are using a recent version of RDi, type "Defines" in the "type filter text" search box on the Preferences. (Preference finder is very handy for finding preferences!)

Hope this helps!

Steve Ferrell
w. www.helpsystems.com



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of fhildebrandt@xxxxxxxxxxxxxxx
Sent: Friday, March 4, 2022 10:52 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: [WDSCI-L] LPEX editor and stream files containing ILE RPG source

External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.


Hi,



we are starting to store ILE RPG sources in stream files and I have the following problem when I open the LPEX editor for a stream file containing ILE RPG source.



I use the following copy compiler directive in the source.



/copy 'qrpglesrc/mycpysrc.rpgle'



The copy compiler directive points to a stream file which is defined with a relative path. The command CRTBNDRPG contains the parameter INCDIR. In this parameter I can specify all directories the command CRTBNDRPG is searching for the copybook at compile time, so I am able to compile the source.



When I open the LPEX editor the source will be parsed and the LPEX editor says that the copy book is not available. I understand this message, because I havn`t told RDi where to search for the copy book. The problem is, that I don`t find any place in RDi where I can specify the include directories the LPEX editor has to search for the copy books. Does anybody know how to solve the problem?



It would be great, if anybody could point me to the right direction.



Frank

--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fwdsci-l&amp;data=04%7C01%7Csteve.ferrell%40helpsystems.com%7C5a4ddd53f045481834e508d9fdff49b8%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637820096180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=YTNeOdaSgAD9mNJCKzmLA0XhrVmXiBPO7SNEsT2p6FQ%3D&amp;reserved=0
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fwdsci-l&amp;data=04%7C01%7Csteve.ferrell%40helpsystems.com%7C5a4ddd53f045481834e508d9fdff49b8%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637820096180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=PZjQqZY2B9pr6j8S1QJZjfxctIoctUlw%2FkRfc0yMw0I%3D&amp;reserved=0.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&amp;data=04%7C01%7Csteve.ferrell%40helpsystems.com%7C5a4ddd53f045481834e508d9fdff49b8%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C637820096180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=rIZXtMHsbhBG4%2FxupSAWd75nYOMbbbD1IsSKIbOR5KA%3D&amp;reserved=0

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