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



--
--
[ Picked text/plain from multipart/alternative ]




C EVAL CHk = %REPLACE(%SUBST(PYEPMT :1 :POS)
C :%EditC(Stru:'Z') : Pos)

or something close to that should solve the immediate problem.
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@MartinVT.com
---------------------------------------------------------



-------Original Message-------

From: rpg400-l@midrange.com
Date: Thursday, August 15, 2002 10:08:16
To: rpg400-l@midrange.com
Subject: Eval Statement Error

I get compile error, anybody have any ideas about doing this better.
*RNF0382 30 1 The second parameter for %REPLACE is not valid.

D POS S 5U 0
D Str S 5S 0
D StrU S 5U 0
D Chk S 18A

C z-add 0 Pos
C EVAL pos = %scan(' ' : PYEPMT) - 1
C If Pos > 0
C 18 sub pos Str
C Move Str Stru
C EVAL CHk = %REPLACE(%SUBST(PYEPMT :1 :POS)
C :Stru : Pos)


Arlene Soderlund
--
[ Content of type image/gif deleted ]
--



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.