|
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob P. Roche
Sent: Wednesday, October 17, 2007 5:29 PM
To: RPG programming on the AS400 / iSeries
Subject: Zoned fields showing as packed
A co-worker had a problem, that I haven't seen before, maybe
there is a PTF for it. He has a file with a field defined as
9s 0, we can verify it in several places. When he tries to
use that field in a prototyped call , also defined as 9s 0,
he get a compile error - The type and attributes of the
parameter do not match those of the prototype. RNF7535.
looking at the source everything is fine. Looking at the
compile listing, The field in question is defined as 9s 0
everywhere until the global field references section when it
shows as P(9,0).
Has anyone seen this before? For now he added CONST to the
parm, The value is not going to be changed so this converts
it under the covers, but it should work without that.
--
This is the RPG programming on the AS400 / iSeries (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.
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.