Thx, will give that a shot.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Monday, June 25, 2018 4:28 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: REST from V7R3
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 ..."
--
Barbara
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.