Hello David,
Thank you very much for your comments on this.
I have made changes to my Compile JCl:
LIST LONGNAME RENT SOURCE ASCII CONVLIT LOCALE (EN_US.IBM-037)
LIST LONGNAME RENT SOURCE ASCII CONVLIT LOCALE (EN_US.IBM-1047)
I always receive the same errors in the C ++ & Binder Compilation process.
You can tell me something I should do wrong.
Thank you very much.
Hilario
PS: Errors are:
G CCN0049 'FJA.SAMPLE.C (LPCSI)': 0 The option "" is not supported.
CCN3166 FJA.SAMPLE.C (LPCSI): 43 Definition of function \ u00d1include
requires
CCN3276 FJA.SAMPLE.C (LPCSI): 43 Syntax error: possible missing '{'?
CCN3766 FJA.SAMPLE.C (LPCSI): 51 The universal character name "[" is not in
the
fier
CCN3766 FJA.SAMPLE.C (LPCSI): 52 The universal character name "[" is not in
the
fier
CCN3766 FJA.SAMPLE.C (LPCSI): 53 The universal character name "[" is not in
the
fier
CCN3766 FJA.SAMPLE.C (LPCSI): 54 The universal character name "[" is not in
the
fier
CCN3766 FJA.SAMPLE.C (LPCSI): 62 The universal character name "[" is not in
the
fier
CCN3275 FJA.SAMPLE.C (LPCSI): 62 Unexpected text ']' encountered.
CCN3273 FJA.SAMPLE.C (LPCSI): 63 Missing type in declaration of filtkey.
CCN3766 FJA.SAMPLE.C (LPCSI): 67 The universal character name "[" is not in
the
fier
CCN3275 FJA.SAMPLE.C (LPCSI): 67 Unexpected text ']' encountered.
CCN3766 FJA.SAMPLE.C (LPCSI): 84 The universal character name "[" is not in
the
fier
CCN3275 FJA.SAMPLE.C (LPCSI): 84 Unexpected text ']' encountered.
2017-10-19 13:45 GMT+02:00 David Crayford <[email protected]>:
> Those aren't special characters, they're fundamental to the language. Only
> square brackets and the ^ operator are usually a problem for English code
> pages. NOLOCALE is your problem. Specify what code page you want to use
> in the LOCALE() compiler option. For example LOCALE(EN_US.IBM-1047) or
> LOCALE(EN_US.IBM-037) .
>
>
>
> On 19/10/2017 7:39 PM, Hilario Garcia wrote:
>
>> Hello,
>>
>> I am new to using c / c ++ language. I try to compile the first program
>> under Z / os 2.1. The compiler detects errors when using special characters
>> (#, [,], _ ..)
>>
>> I have been trying to fix the problems through the compiler options:
>> NOASCII CONVLIT NOLOCALE, but I have not managed to solve it.
>>
>> Can someone tell me something about how to solve this problem?
>>
>> Thank you very much.
>>
>> Hilario
>>
>> PD (Attached compilation process
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
>>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN