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



Darren,

This is what the manual says:

When specifying an IFS (Integrated File System) file, the path can be
either absolute (beginning with /)
or relative.
– The path can be enclosed in single or double quotes. If the path
contains blanks, it must be enclosed
in quotes.
– If the path does not end with a suffix (for example ".txt"), the
compiler will search for the file as
named, and also for files with suffixes of ".rpgle" or ".rpgleinc".

I have no experience with sources in stream files, but it appears that it
should be simple enough.

Joep Beckeringh


"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 17-10-2014 14:21:36:

From:

darren@xxxxxxxxx

To:

"midrange-RPG RPG message board" <rpg400-l@xxxxxxxxxxxx>

Date:

17-10-2014 14:22

Subject:

/copy for IFS source


I'm looking at WDSLtoRPG to create a web service client program in RPG.
I'm not really asking about this process, suffice to say, it puts some
rpgle copy source in an IFS directory. I'd like to use /copy compiler
directives to get that source, but I have to use the INCDIR compiler
directive, because I can't figure out how to specify an IFS path on
the /copy directive. I don't really like have to have a special compile
string. I'd like to either have it on the /copy directive, or somehow
have
the equivalent of INCDIR in header specs (something else I can't seem to
find). Anyone have any experience with this?


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.