Put a DEBUG(*YES) in the H-spec, and a DUMP(A) right after your EVAL.

Try making the default value x'7D' instead of ''''?

Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Alan G. Campin
Sent: Friday, July 7, 2006 11:33 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Nasty little problem

You probably don't have all PTF's applied.
Use parens around the right-side value and see if that fixes it.

     WorkString += (cBlanks + %TrimR(InParmList.ParmList(x)));

-Bob Cozzi

Yea, tried that. No good. Tried fixed length string instead of varying
and tried without += and nothing. 

We just put current cums on a few weeks ago. I think it has something to
do with the quoted string but can't figure out what for the life of me. 

DCL        VAR(&QUOTE) TYPE(*CHAR) LEN(1) VALUE('''')

 

CHGVAR     VAR(&VARIABLE3) VALUE(&V92)

BLDCLLSTR  PGMANME(XVZ) PARMS((&QUOTE || &VARIABLE1 || &QUOTE) (&QUOTE
|| &VARIABLE2 || +  
              &QUOTE) (&QUOTE || &VARIABLE3 || &QUOTE))
RTNSTRING(&RTNSTRING)              



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.