×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.



  • Subject: RE: Program call in visual age
  • From: Jaume Padreny i Rubí <padreny@xxxxxxxxxxx>
  • Date: Mon, 8 Nov 1999 20:32:26 +0100

Title: Program call in visual age
Are there a explicit definition of a zoned field in rpg?
d field1        4S0
Betwen rpg's call RPG change zoned fields to packed fields
----- Original Message -----
Sent: Monday, November 08, 1999 1:30 PM
Subject: Re: 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


This thread ...

Replies:

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

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