On Thu, 13 Mar 2025 08:19:18 -0500, Charles Mills <[email protected]> wrote:

>On Wed, 12 Mar 2025 19:38:38 -0500, Linda Chui <[email protected]> wrote:
>
>>The errors you saw were likely from using the wrong header set.
>
>Linda, thanks for taking the time to help.
>
>I believe I am doing things exactly as you document. The documentation says 
>
>-mzos-sys-include="//'<DEFAULT_LE_HLQ, CEE in most cases>.SCEEH.+'"
>
>And my coding is
>
>-mzos-sys-include="//'CEE.SCEEH.+'"
>
>CEE.SCEEH is to the best of my knowledge exactly as installed for the other C 
>compiler V3R1.
>
>Is anyone outside of IBM actually using this compiler?
>
>Charles
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN


Hello,

Assuming your -mzos-sys-include comes from 
https://www.ibm.com/docs/en/open-xl-c-cpp-zos/2.1?topic=compiler-jcl-example, 
you can see the preamble states it is for C (non-XPLINK). 

There is a USS (or shell) example given in the same document at 
https://www.ibm.com/docs/en/open-xl-c-cpp-zos/2.1?topic=applications-compiling 
which includes both C and C++ compilation parts. 

Please do ensure your z/OS service level is up to date as well as there may 
have been changes to the system, compiler, header files, etc.
In general, you should NOT need to specify -mzos-sys-include explicitly since 
the install configuration should have set all the defaults for you.


Hope this helps.
z/OS XL C/C++ Compiler Team

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to