• Subject: Re: Program call in visual age
  • From: "End of the Trail" <endofthetrail@xxxxxxxxxxx>
  • Date: Mon, 8 Nov 1999 07:30:52 -0500

Title: Program call in visual age
A quick quess.  The would happen to be blanks?  When the data was passed, were leading zeros used to fill the variable?
 
Eurrat
-----Original Message-----
From: AnanthaRamaiah, Gururaja (CTS) <AGururaj@DBSS.COM>
To: java400-l@midrange.com <java400-l@midrange.com>
Date: Monday, November 08, 1999 2:05 AM
Subject: Program call in visual age

Hi,
        I am using Visualage Program call smart guide to create a program call. If the parameters passed are Alphanumeric then the program call is working fine, when invoked. I tried to pass a Zoned decimal parameter (AS400ZonedDecimal) to a RPG program. The smart guide created the class file successfully. The size of the passed variables are exactly matching with those declared in the RPG program. But when I invoke the RPG program I am getting the following message in  DSPMSG *SYSOPR

Decimal-data error occurred (C G D F)
 Reply . . :   D

I checked the dump. The Zoned decimal fields found to contain junk values... Can anyone tell me how to overcome this problem...

Thanks in advance,
Guru


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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