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



CRPence & Alan,

Here are the lines from the first non-commented line to several below the error:

0030.83 002200+ *========================================================================
0030.84 002300+ dcl-c soapEnvelope_begin
0030.85 002400+ const('<soapenv:Envelope xmlns:soapenv="http:-
0030.86 002500+ //schemas.xmlsoap.org/soap/envelope/">');
0030.87 002600+
0030.88 002700+ dcl-c No_soapHeader const('<soapenv:Header/>');
0030.89 ======> abbbbbbbcddddddef g
0030.90 *RNF0312 20 a 6002700+ A right parenthesis is expected but is not found.
0030.91 *RNF3312 20 b 6002700+ A keyword is specified more than once for a definition;
0030.92 keyword is ignored.
0030.93 *RNF3308 20 c 6002700+ Keyword name is not valid; the keyword is ignored.
0030.94 *RNF3312 20 d 6002700+ A keyword is specified more than once for a definition;
0030.95 keyword is ignored.
0030.96 *RNF3308 20 e 6002700+ Keyword name is not valid; the keyword is ignored.
0030.97 *RNF3308 20 f 6002700+ Keyword name is not valid; the keyword is ignored.
0030.98 *RNF0267 20 g 6002700+ Character literal has missing trailing apostrophe; trailing
0030.99 apostrophe assumed.
0031.00 *RNF3312 20 6002700+ A keyword is specified more than once for a definition;
0031.01 keyword is ignored.
0031.02 002800+ dcl-c soapBody_begin const('<soapenv:Body>');
0031.03 ======> aaaaa bbbbbbbbbbbbbb ccccc
0031.04 *RNF3312 20 a 6002800+ A keyword is specified more than once for a definition;
0031.05 keyword is ignored.
0031.06 *RNF3312 20 b 6002800+ A keyword is specified more than once for a definition;
0031.07 keyword is ignored.
0031.08 *RNF3312 20 c 6002800+ A keyword is specified more than once for a definition;
0031.09 keyword is ignored.
0031.10 002900+ dcl-c sendMesssage_begin const('<sendMessage>');
0031.11 003000+ dcl-c messageRequest_begin const('<messageRequest>');
0031.12 003100+ dcl-c messageType_OutputInteractive
0031.13 003200+ const('<messageType>I</messageType>');
0031.14 003300+ dcl-c messageType_Batch const('<messageType>B</messageType>');
0031.15 003400+ dcl-c requestDate_begin const('<requestDate>');

Linde 30.83 is the first line in the /copy file of the compile, that is not a comment. The error is occurring in a /copy file, last in a short list of copy files.

Thanks,

Marvin
No trees were killed in the sending of this message, but a large number of electrons were terribly inconvenienced

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Wednesday, July 20, 2016 5:42 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Problem in /Free constant declaration

On 20-Jul-2016 18:48 -0500, Marvin Radding wrote:
No errors to this point. This is the first error.

But the nature of compilers is that they /mistakenly diagnose/ what appears to be as error, as the first error, but as a side effect of a *prior error* that was not inferred when parsing the prior line.

Thus why Alan asks what precedes the diagnosed as failing dcl-c.

For example, the following two consecutive dcl-c will produce something similar to what the OP showed; NB that there is no error diagnosed for the dcl-c of TemplateChars, despite that declarative is the origin for the problem being diagnosed for the dcl-c No_soapHeader:

003300 dcl-c TemplateChars
'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRS-
003400 dcl-c No_soapHeader const('<soapenv:Header/>');

======> abbbbbbbcddddddef
g
*RNF3308 20 a 003400 Keyword name is not valid; the keyword is
ignored.
*RNF3312 20 b 003400 A keyword is specified more than once for a
definition;
keyword is ignored.

*RNF3308 20 c 003400 Keyword name is not valid; the keyword is
ignored.
*RNF3312 20 d 003400 A keyword is specified more than once for a
definition;
keyword is ignored.

*RNF3308 20 e 003400 Keyword name is not valid; the keyword is
ignored.
*RNF3308 20 f 003400 Keyword name is not valid; the keyword is
ignored.
*RNF0267 20 g 003400 Character literal has missing trailing
apostrophe; trailing
apostrophe assumed.

*RNF3312 20 003400 A keyword is specified more than once for a
definition;
keyword is ignored.



--
Regards, Chuck

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.
Notice: This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. This message may also contain Protected Health Information (PHI) and must be treated confidentially and handled in accordance with HIPAA and other federal and state privacy laws. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately and delete this e-mail (and any accompanying attachments).

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.