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



Hi Steve,

this is what I was looking for. Thank you.

I have another question. The section "Include Directory" is on a global
level. I have a lot of connections in the remote systems explorer and the
different connections need different include directories. Is there a way to
handle this?

Frank



-----Ursprüngliche Nachricht-----
Von: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> Im Auftrag von Steve
Ferrell via WDSCI-L
Gesendet: Freitag, 4. März 2022 18:30
An: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: Steve Ferrell <Steve.Ferrell@xxxxxxxxxxxxxxx>
Betreff: Re: [WDSCI-L] LPEX editor and stream files containing ILE RPG
source

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.midr
ange.com%2Fmailman%2Flistinfo%2Fwdsci-l&amp;data=04%7C01%7Csteve.ferrell%40h
elpsystems.com%7C5a4ddd53f045481834e508d9fdff49b8%7Cca81e23b350945eea9983e34
6acf274d%7C0%7C0%7C637820096180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=YTNeOd
aSgAD9mNJCKzmLA0XhrVmXiBPO7SNEsT2p6FQ%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.mi
drange.com%2Fwdsci-l&amp;data=04%7C01%7Csteve.ferrell%40helpsystems.com%7C5a
4ddd53f045481834e508d9fdff49b8%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C
637820096180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=PZjQqZY2B9pr6j8S1QJZjfxct
IoctUlw%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.mid
range.com%2F&amp;data=04%7C01%7Csteve.ferrell%40helpsystems.com%7C5a4ddd53f0
45481834e508d9fdff49b8%7Cca81e23b350945eea9983e346acf274d%7C0%7C0%7C63782009
6180877266%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=rIZXtMHsbhBG4%2FxupSAWd75nYOMbbbD
1IsSKIbOR5KA%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-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.