On 2018-06-20 8:06 PM, Don Osmond wrote:
Ok, PTFs installed and the ITransport.h is now on the system

When I compile using this

Message . . . . : - CRTBNDC PGM(DPOLIB/SOMCLEPCCS)
SRCFILE(DPOLIB/QCSRC) SRCMBR(SOMCLEPCCS) REPLACE(*YES)
INCDIR('/qibm/proddata/os/webservices/v1/client/include')


For ILE C, I'm pretty sure that the INCDIR parameter only applies when the main source file is an IFS file. If you use SRCSTMF, then C expects include files to be in IFS (or QSYS files specified as /QSYS.LIB/...). If you use SRCFILE/SRCMBR, it expects include files to be in QSYS files.

Try using SRCSTMF instead of SRCFILE and SRCMBR:

CRTBNDC SRCSTMF('/QSYS.LIB/DPOLIB.LIB/QCSRC.FILE/SOMCLEPCCS.MBR')...

Here's the doc for the INCDIR parameter:
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzarh/sprulesincdirpar.htm

It says:
"The parameter is ignored if the source file's location is not defined as an IFS path via the Source Stream File (SRCSTMF) parameter ..."


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-2025 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 copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.