×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Why do people still think RPG IV is coded like CL?  
If there were a continuator, we wouldn't need the semi colon.
The plus or minus signs are only used when you a breaking a literal across
multiple lines, or in the case of the + sign for concatenation. 


Bob Cozzi
Cozzi Consulting
www.rpgiv.com


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rob@xxxxxxxxx
Sent: Monday, November 24, 2003 4:01 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: FREE Code: *RNF0312 and *RNF5377 Errors

In /free you don't use the + as a continuation character.  Continuation is 
assumed until the semicolon is hit.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




"Peter Vidal" <Peter_Vidal@xxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
11/24/2003 04:53 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Fax to

Subject
FREE Code: *RNF0312 and *RNF5377 Errors






Hi list.

I can't see the problem here... HELP!:

  1870  /Free
  1871    Chain CoCusYr MPSSum;
  1872
  1873    Exsr LstMntStamp;
  1874    If %found(MPSSum);
  1875       Update MPSSumR %fields(MPBQ(RunQtr):MPDBok:MPDBrw:MPBMtd +
======>                                                               a
*RNF0312 20 a      098500  A right parenthesis is expected but is not 
found.
  1876                              :tMPLDTE:tMPLTME:tMPLUSR:tMPLPGM);
======>                             a
*RNF5377 20 a      098600  The end of the expression is expected.
  1877
  1878       If SummaryMode;
  1879          tMPDBok = tMPDBok + MPDBok;
  1880          tMPDBrw = tMPDBrw + MPDBrw;
  1881          tMPBMtd = tMPBMtd + MPBMtd;
  1882          tMPBQ(RunQtr) = tMPBQ(RunQtr) + MPBQ(RunQtr);
  1883       Endif;
  1884
  1885    Endif;
  1886  /End-Free
  1887 C                   Endsr

TIA,

Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com

"A good player makes himself look good; a great player makes the team look
good."
Author unknown


_______________________________________________
This is the RPG programming on the AS400 / 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.


_______________________________________________
This is the RPG programming on the AS400 / 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.




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