×
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.
Mike,
It sounds like your receiving more data into a variable than it can hold. I've run into this sort of thing when using the APIs. In these instance I've set parameters incorrectly.
Gary Monnier
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Wills
Sent: Thursday, February 16, 2012 9:26 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Weird program errors that I can't duplicate. Maybe activation group problems?
Two users have been reporting the same problem with one of my applications.
I have a very complicated subprocedure that calculates the taxes on an invoice. I had one of the users try a few things, but I can't the program to crash on-demand (though it did several times though the testing). The error I get is "Receiver value too small to hold result." The user can log out and in again and retry it on the same invoice and it works flawlessly.
Thus my thought it may be activation group problem.
My modules are compiled with the H-Spec of
H nomain bnddir('ARBNDDIR') option(*srcstmt:*nodebugio)
My programs are complied with the H-Spec of
H ActGrp(*caller) BndDir('ARBNDDIR':'MODULES') DftActGrp(*no)
I am by no means an expert with activation groups. Should I change this to a named activation group? ActGrp(ARACTGRP)
--
Mike Wills
http://mikewills.me
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.