× 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: Decimal Data Error
  • From: Denis Robitaille <drobitaille@xxxxxxxxxxxx>
  • Date: Wed, 10 Sep 1997 08:31:29 -0400
  • Organization: Cascades inc.

Tim Truax wrote:
> 
> 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*****************************************************************
> C* MAINLINE CALCULATION AREA.                                    *
> C*****************************************************************
> 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
> C*
> 
> I am getting a DDE on this line-
> 
> C* PLACE THE YYYY INTO HDYTST.
> C                     MOVELX$YYYY    HDYTST  80    <--DDE happening
> here!
> 
> Any help from you bright folks would be appreciated, also any tips on
> avoiding DDE's would be appreciated.
> 
> 
> --
> žžžžžžžžžžžžž
> ž-Tim Truax-ž
> žžžžžžžžžžžžž
> +---
> | 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
> +---

X$YYYY is defined as packed internally. You should check the calling
program, it must use a variable that is defined as zoned. This problem
occurs often.
-- 
Denis Robitaille
Cascades Inc.
+---
| 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
+---


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.