• Subject: Re: Decimal Data Error
  • From: "Richard Williams" <rickw@xxxxxxx>
  • Date: Tue, 9 Sep 1997 19:11:30 -0400

 That you have defined X$YYYY as *dec(4.0) does not guarantee that a valid,
numeric value is passed to the program. I suspect that X$YYYY is *BLANK.

-----Original Message-----
From: Tim Truax <truax@usaor.net>
To: midrange-L@midrange.com <midrange-L@midrange.com>
Date: Tuesday, September 09, 1997 6:28 PM
Subject: Decimal Data Error

Hi All,
I am from the S36 world and am now working with the AS400.  One very
frustrating thing is the DDE's that I get from time to time.  Please
look at the following:

I have a program that gets called from other programs-
C* MAINLINE CALCULATION AREA.                                    * 
C           *ENTRY    PLIST                                        
C                     PARM           X$YYYY  40      <--4 pos/0dec      
C                     PARM           X$MM    20                    
C                     PARM           X$DD    20                    
C                     PARM           @D1RT   1                     
C                     PARM           @D1TP   1                     
C                     PARM           @D1N#   30                    
C                     PARM           Y$YYYY  40                    
C                     PARM           Y$MM    20                    
C                     PARM           Y$DD    20                    
C                     PARM           @D1NM   3                     

I am getting a DDE on this line-

C* PLACE THE YYYY INTO HDYTST.                                     
C                     MOVELX$YYYY    HDYTST  80    <--DDE happening

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].