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


  • Subject: RE: Error on %EDITC
  • From: "Bale, Dan" <DBale@xxxxxxxx>
  • Date: Wed, 3 May 2000 16:33:55 -0400

I tested your example and came up fine.  However I made a few assumptions:

I assumed that D3PARNT1 is alphanumeric with a length of at least 16 bytes.
I assumed that SQLFILEKEY is numeric.
I assumed that there was nothing to the right of the equal sign on line 752
(if you were editing in 24x80 mode, you might not catch this).

HTH,
- Dan Bale

> -----Original Message-----
> From: Hartman Richard [SMTP:richard.hartman@brctsg.com]
> Sent: Wednesday, May 03, 2000 3:41 PM
> To:   'RPG400-L@midrange.com'
> Subject:      Error on %EDITC 
> 
> Hello, 
> 
> I am receiving the following error on the compile. I have done coding like
> this before in other programs, and have never received this error. That is
> what confuses me the most. I have looked at my code in the other programs
> and there is no difference.
> 
> 
>    752 C                   EVAL      %SUBST(D3PARNT1:1:16) =
> 
>    753 C                                  %EDITC(SQLFILEKEY:'Z')
> 
> ======>                                aaaaaa           bccc
> 
> *RNF0604 20 a      047900  The token is not valid; token is ignored.
> 
> *RNF0312 20 b      047900  A right parenthesis is expected but is not
> found.
> 
> *RNF5377 20 c      047900  The end of the expression is expected.
> 
> 
> Any help would be grateful.
> Thanks in advance.
> 
> Richard
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.