×

Good News Everybody!

The new search engine is LIVE!

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




Paste the DDS stated if needed but the default attribute of packed numeric
is true for DDS as well. 


Ken Slaugh (707) 795-1512 x118
Chouinard & Myhre, Inc.
http://www.cm-inc.com/


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jim Franz
Sent: Thursday, April 01, 2004 8:51 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: packed v zoned in compiles

> some zoned fields like     VNTIME     11      16  0
I should have been clearer.... this is a field in an externally described
file, and is defined in it's dds as 6s 0 The compiler listing (above) shows
each field, start,end,#decimals.
The field is not redefined in any data structure or calc statement.
jim


----- Original Message -----
From: "Ken Slaugh" <ken.slaugh@xxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, April 01, 2004 11:38 PM
Subject: RE: packed v zoned in compiles


> The default is packed. The zoned statement would have to be:
>
>     VNTIME     11      16s 0
>
> This dates back as far as V1 on the System/38.
>
> Ken Slaugh (707) 795-1512 x118
> Chouinard & Myhre, Inc.
> http://www.cm-inc.com/
>
>
> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
> On Behalf Of Jim Franz
> Sent: Thursday, April 01, 2004 5:51 PM
> To: RPG400-L@xxxxxxxxxxxx
> Subject: packed v zoned in compiles
>
> I'm trying to explain this to a customer:
> RPG program compile listing shows the file with
> some zoned fields like     VNTIME     11      16  0
> but the list of fields at bottom of compile listing have
> VNTIME     P(6.0)
>
> Why?      same in both V5r1 and V5r2
>
> jim
> _______________________________________________
> 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.
>
>
> _______________________________________________
> 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.
>
>


_______________________________________________
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 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.