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



I'm just starting to use Varying, too. If I understand correctly, if you put
blanks in the field, they get counted as valid characters. Leaving
Inz(*Blank) off the definition should do what you want.

Roger Mackie

-----Original Message-----
From: William A.(Tony) Corbett [mailto:corbett@ASRESOURCES.COM]
Sent: Monday, September 16, 2002 15:32
To: rpg400-l@midrange.com
Subject: Varying problems


Hi all,
Apparently, I do not understand the VARYING keyword.  In Debug, after the
following code executes, when I do an F11 (display var) on @lmsg, it shows
all blanks.

D @lmsg           S           5000A    Varying Inz(*Blank)
............................................................
C                   Eval      @lmsg = @lmsg + 'Order#: ' + purchord +
C                             ', owner code not found for Member#: ' +
C                             @fmtcpy# + ':/N'

?? why ??

TIA

AS/Resources, Inc.
William A.(Tony) Corbett
IBM Certified Specialist - AS/400 Developer
http://www.asresources.com
corbett@asresources.com
770-587-4812 (office)
678-935-5006 (mobile)
fax:  404-663-4737


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.