|
I will send it in the morning. The AIX partition is having maintenance and I cannot create a sql package until I get that back up. Bruce "Hoss" Collins IBM Certified Specialist - eServer i5 iSeries System Administrator V5R3 Cisco Certified Network Associate AAA Cooper Transportation Dothan, AL 36303 (334)793-2284 x2434 > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Barbara Morris > Sent: Tuesday, May 16, 2006 4:05 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: Re: SQL Issue > > Bruce Collins wrote: > > > > Have any of you Embedded SQL people ever run into this issue. I can > > define in the D specs a variable we will call counter as 3p 0 and > > counter1 as 3s 0. > > When I compile the programs the xref shows both fields as 3, 0 Packed. > > Both fields are stand alone. If I create a data structure and define > > them within it the fields come out as defined. > > > > Can you post your D specs and the cross reference entries for those D > specs? If a standalone field is defined with type 'S', it should remain > type S in the xref. > > The situation that Birgitta is referring to is when you define fields as > zoned (S) on I specs, or you have an externally-described file with > zoned (S) fields; by default those fields would be defined as packed in > the program. > > -- > 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-2025 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.