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?


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

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


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.


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,
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at

Help support midrange.com by shopping at amazon.com with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.